Bug Tracker

Ticket #8381 (closed bug: fixed)

Opened 4 years ago

Last modified 3 years ago

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

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

Change History

comment:1 Changed 4 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 4 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:3 Changed 4 years ago by john

  • Milestone changed from 1.next to 1.5.2

comment:4 Changed 4 years ago by john

  • Priority changed from high to blocker

comment:5 Changed 4 years ago by john

  • Owner set to john
  • Status changed from open to assigned

comment:6 Changed 4 years ago by john

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Component changed from traversing to selector
Note: See TracTickets for help on using tickets.