Bug Tracker

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#6963 closed bug (fixed)

Blackberry 4.6 Finds Nodes That No Longer Exist

Reported by: john Owned by:
Priority: Milestone: 1.4.3
Component: selector Version: 1.4.2
Keywords: Cc:
Blocked by: Blocking:

Description (last modified by john)

See the test case here: http://ejohn.org/files/bugs/bb-id.html

Only seems to happen when the node has been in a cloned fragment.

Change History (4)

comment:2 Changed 7 years ago by john

Description: modified (diff)

comment:3 Changed 7 years ago by jdalton

Can u test if it also finds children of detached elements as well. http://dl.dropbox.com/u/513327/bb-id.html

comment:4 Changed 6 years ago by jquery@…

There is a bit of a possible BC break here, but I believe it only affects IE. Prior to this change, jQuery could find XML elements within the document; after this change, it cannot. Evidently, XML nodes in IE do not have a parentNode.

Please see the following fiddle:

http://jsfiddle.net/yCrd4/

Note: See TracTickets for help on using tickets.