Modify ↓
Ticket #10915 (closed bug: invalid)
jQuery 1.6 and after, incorrect feature detection for IE8
| Reported by: | signor.verni@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | support | Version: | 1.7.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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.
Change History
comment:1 Changed 18 months ago by sindresorhus
- Priority changed from undecided to low
- Resolution set to invalid
- Status changed from new to closed
- Component changed from unfiled to support
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

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.