Bug Tracker

Modify

Ticket #8381 (closed bug: fixed)

Opened 3 years ago

Last modified 2 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 3 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 3 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 3 years ago by john

  • Milestone changed from 1.next to 1.5.2

comment:4 Changed 3 years ago by john

  • Priority changed from high to blocker

comment:5 Changed 3 years ago by john

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

comment:6 Changed 3 years ago by john

  • Status changed from assigned to closed
  • Resolution set to fixed
  • Component changed from traversing to selector

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.