Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#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.

http://jsfiddle.net/vjdT3/4/

Change History (6)

comment:1 Changed 7 years ago by addyosmani

Component: unfiledtraversing
Priority: undecidedhigh
Status: newopen

comment:2 Changed 7 years ago by scottgonzalez

This bug originally showed up in the widget factory tests. The work around in the test should be removed when this is fixed.

comment:3 Changed 7 years ago by john

Milestone: 1.next1.5.2

comment:4 Changed 7 years ago by john

Priority: highblocker

comment:5 Changed 7 years ago by john

Owner: set to john
Status: openassigned

comment:6 Changed 7 years ago by john

Component: traversingselector
Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.