This project is archived and is in readonly mode.

#1250 ✓invalid
philfreo

getStyle('width') returns different units by browser

Reported by philfreo | July 1st, 2011 @ 06:25 AM

Not 100% positive this is a bug, but I have a test case:

http://jsfiddle.net/philfreo/QXnEQ/

Basically: Webkit/Firefox return getStyle('width') in pixels, IE (9, and I think 7-8) return it in %.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

Shared Ticket Bins

Pages