Skip to main content

Bug Tracker

Side navigation

#12186 closed bug (invalid)

Opened August 03, 2012 12:26AM UTC

Closed August 14, 2012 11:31AM UTC

.has() doesn't work on detached nodes

Reported by: jaredr@gmail.com Owned by:
Priority: low Milestone: None
Component: traversing Version: 1.7.2
Keywords: Cc:
Blocked by: Blocking:
Description

$('<ul><li><p></p></li></ul>').find('li').has('p') does not find the 'li'.

See http://jsfiddle.net/wymG9/2/

This appears to be working in 1.8, but I can't find a closed bug for it, so I'm not sure if it'll 'stay' fixed.

Attachments (0)
Change History (1)

Changed August 14, 2012 11:31AM UTC by sindresorhus comment:1

component: unfiledtraversing
priority: undecidedlow
resolution: → invalid
status: newclosed

See #11543