Skip to main content

Bug Tracker

Side navigation

#8381 closed bug (fixed)

Opened February 25, 2011 02:31PM UTC

Closed March 25, 2011 12:00AM UTC

Last modified March 09, 2012 08:56AM UTC

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

Attachments (0)
Change History (6)

Changed February 25, 2011 05:41PM UTC by addyosmani comment:1

component: unfiledtraversing
priority: undecidedhigh
status: newopen

Changed February 26, 2011 12:32PM UTC by scottgonzalez comment:2

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

Changed February 28, 2011 05:12PM UTC by john comment:3

milestone: 1.next1.5.2

Changed February 28, 2011 05:12PM UTC by john comment:4

priority: highblocker

Changed March 07, 2011 04:56PM UTC by john comment:5

owner: → john
status: openassigned

Changed March 25, 2011 12:00AM UTC by john comment:6

component: traversingselector
resolution: → fixed
status: assignedclosed