Bug Tracker

Opened 12 years ago

Closed 12 years ago

Last modified 11 years ago

#7272 closed bug (wontfix)

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:


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/

Change History (2)

comment:1 Changed 12 years ago by snover

Component: unfiledcss
Keywords: regression added
Priority: undecidedhigh
Status: newopen

comment:2 Changed 12 years ago by john

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).

Note: See TracTickets for help on using tickets.