Bug Tracker

Opened 8 years ago

Closed 7 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.

Change History (5)

comment:1 Changed 8 years ago by flesler

  • Cc vdboor flesler added
  • need changed from Review to Test Case
  • Priority changed from minor to trivial

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

comment:2 Changed 8 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 8 years ago by flesler

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

comment:4 Changed 7 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 7 years ago by dmethvin

  • Resolution set to invalid
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.