Side navigation
#10915 closed bug (invalid)
Opened November 29, 2011 11:13AM UTC
Closed November 29, 2011 12:09PM UTC
Last modified November 29, 2011 04:03PM UTC
jQuery 1.6 and after, incorrect feature detection for IE8
Reported by: | signor.verni@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | support | Version: | 1.7.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
In jQuery 1.6 and after (tested in 1.6, 1.6.4, 1.7, 1.7.1) feature detection:
$.support.style returns false.
Versions before 1.6 (tested in 1.5.2) returned true.
Bug is still present in latest 1.7.1 release.
Attachments (0)
Change History (3)
Changed November 29, 2011 12:09PM UTC by comment:1
component: | unfiled → support |
---|---|
priority: | undecided → low |
resolution: | → invalid |
status: | new → closed |
Changed November 29, 2011 02:25PM UTC by comment:2
This was an intentional change. IE8 is buggy in a different way than IE6/7. IE6/7 will return the style property rather than the attribute and IE8 will return the attribute, but with all style properties uppercased. We normalize this.
Changed November 29, 2011 04:03PM UTC by comment:3
OK, thanks
This is not a bug, the bug was actually in 1.5.2.
From the docs:
Since IE is using
.cssText
, it does not support the style attribute, and therefor returns false.