Skip to main content

Bug Tracker

Side navigation

#7272 closed bug (wontfix)

Opened October 21, 2010 07:40PM UTC

Closed October 22, 2010 05:20AM UTC

Last modified March 15, 2012 12:49PM UTC

in IE6, css() cannot be used to access properties not recognized by that browser

Reported by: anonymous Owned by:
Priority: high Milestone: 1.4.4
Component: css Version: 1.4.3
Keywords: regression Cc:
Blocked by: Blocking:
Description

In jQuery 1.4.3 on IE6, trying .css('max-width'), .css('max-height'), or .css('min-width') returns undefined even if there are values for those styles. In 1.4.2 and earlier the values specified for those styles are returned.

Cause: in earlier versions, the code used for css() in IE6 would search for both maxWidth and max-width. Now it only searches for maxWidth. But IE6 apparently does not rename properties it does not recognize, so it is necessary to search for max-width.

Not working in 1.4.3: http://jsfiddle.net/aTNeH/8/

Working in 1.4.2: http://jsfiddle.net/vAc3Z/1/

Attachments (0)
Change History (2)

Changed October 21, 2010 07:56PM UTC by snover comment:1

component: unfiledcss
keywords: → regression
milestone: 1.51.4.4
priority: undecidedhigh
status: newopen

Changed October 22, 2010 05:20AM UTC by john comment:2

resolution: → wontfix
status: openclosed

I'm ok with this. The properties aren't recognized by the browser - if that's the case we can't divine how to best interpret the result (without serious compatibility and performance implications in other browsers).