Modify ↓
Ticket #3377 (closed bug: invalid)
Selector of ancestor/descendant is broken in IE 5.5
| Reported by: | vdboor | Owned by: | |
|---|---|---|---|
| Priority: | trivial | Milestone: | 1.3 |
| Component: | selector | Version: | 1.2.6 |
| Keywords: | Cc: | vdboor, flesler | |
| Blocking: | Blocked by: |
Description
In IE 5.5 the following returns 0 results:
alert( $("#filterSelectionbar li.drop").length )
On the other hand, the following statement does return results:
alert( $("#filterSelectionbar").find("li.drop").length )
While I know IE 5.5 isn't officially supported, I hope this can still be fixed because it seams like a small bug.
Attachments
Change History
comment:1 Changed 5 years ago by flesler
- Cc vdboor, flesler added
- need changed from Review to Test Case
- Priority changed from minor to trivial
comment:2 Changed 5 years ago by vdboor
I just noticed the ">" token is not visible in the ticket description. The first code line should have been:
alert( $("#filterSelectionbar > li.drop").length )
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.


Any space separated selector fails ? Can you provide a test case that shows the 'pattern' of failure ?