Ticket #760 (closed bug: fixed)
.css('fontSize') returns different value in Internet Explorer
|Reported by:||kswedberg||Owned by:|
|Keywords:||css, style IE||Cc:|
Description (last modified by john) (diff)
The .css() method returns a different font-size value for Firefox and Internet Explorer if the stylesheet has set the size with any unit other than pixel.
As Dave Methvin explains*, this has something to do with Firefox and other browsers using getComputedStyle (which computes the size in px) while IE uses currentStyle (which gets the size from the style rule).
The difference can be problematic in some cases.
- need set to Test Case
- Version set to 1.1.2
- Milestone set to 1.1.3
- Status changed from new to closed
- Version changed from 1.1.2 to 1.1.4
- Resolution set to fixed
- Description modified (diff)
- Milestone changed from 1.1.3 to 1.2
- Status changed from closed to reopened
- Resolution fixed deleted