Bug Tracker

Opened 14 years ago

Closed 14 years ago

#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
Blocked by: Blocking:


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 (1)

jquery-ie55.html (801 bytes) - added by vdboor 14 years ago.
Test case for broken ">" selector

Download all attachments as: .zip

Change History (6)

comment:1 Changed 14 years ago by flesler

Cc: vdboor flesler added
need: ReviewTest Case
Priority: minortrivial

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

Changed 14 years ago by vdboor

Attachment: jquery-ie55.html added

Test case for broken ">" selector

comment:2 Changed 14 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 )

comment:3 Changed 14 years ago by flesler

Sadly I don't have IE 5.5 to test. I'll see what I can do.

comment:4 Changed 14 years ago by dmethvin

vdboor, can you see if this problem still exists in IE 5.5 under jQuery 1.3? Since the selector engine changed completely it may have gone away. Hopfully not replaced by dozens of other bugs.

comment:5 Changed 14 years ago by dmethvin

Resolution: invalid
Status: newclosed

I'll close this since the selector engine has been significantly changed.

Note: See TracTickets for help on using tickets.