Modify ↓
Ticket #12186 (closed bug: invalid)
.has() doesn't work on detached nodes
| Reported by: | jaredr@… | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | traversing | Version: | 1.7.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

See #11543