#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: | ||
Blocked by: | Blocking: |
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 (6)
comment:1 Changed 12 years ago by
Component: | unfiled → traversing |
---|---|
Priority: | undecided → high |
Status: | new → open |
comment:2 Changed 12 years ago by
comment:3 Changed 12 years ago by
Milestone: | 1.next → 1.5.2 |
---|
comment:4 Changed 12 years ago by
Priority: | high → blocker |
---|
comment:5 Changed 12 years ago by
Owner: | set to john |
---|---|
Status: | open → assigned |
comment:6 Changed 12 years ago by
Component: | traversing → selector |
---|---|
Resolution: | → fixed |
Status: | assigned → closed |
This was fixed in Sizzle: https://github.com/jeresig/sizzle/commit/06250790bc503bf5a1cb3bd4d70b79a8187d9f6d
Note: See
TracTickets for help on using
tickets.
This bug originally showed up in the widget factory tests. The work around in the test should be removed when this is fixed.