Ticket #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: | |
| Blocking: | Blocked by: |
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/
Change History
comment:1 Changed 3 years ago by snover
- Keywords regression added
- Priority changed from undecided to high
- Status changed from new to open
- Component changed from unfiled to css
- Milestone changed from 1.5 to 1.4.4
comment:2 Changed 3 years ago by john
- Status changed from open to closed
- Resolution set to wontfix
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).
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
