Modify ↓
Ticket #8381 (closed bug: fixed)
.is("div") fails on disconnected elements in IE9
| Reported by: | dmethvin | Owned by: | john |
|---|---|---|---|
| Priority: | blocker | Milestone: | 1.5.2 |
| Component: | selector | Version: | 1.5.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
(originally reported in -dev by Scott Gonzalez)
$("<div />").is("div") returns false in IE9.
If the element is attached to the document then it works properly.
Change History
comment:1 Changed 2 years ago by addyosmani
- Priority changed from undecided to high
- Status changed from new to open
- Component changed from unfiled to traversing
comment:2 Changed 2 years ago by scott.gonzalez
This bug originally showed up in the widget factory tests. The work around in the test should be removed when this is fixed.
comment:6 Changed 2 years ago by john
- Status changed from assigned to closed
- Resolution set to fixed
- Component changed from traversing to selector
This was fixed in Sizzle: https://github.com/jeresig/sizzle/commit/06250790bc503bf5a1cb3bd4d70b79a8187d9f6d
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.
