Bug Tracker

Modify

Ticket #3377 (closed bug: invalid)

Opened 6 years ago

Last modified 5 years ago

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

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

Change History

comment:1 Changed 6 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 ?

Changed 5 years ago by vdboor

Test case for broken ">" selector

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 )

comment:3 Changed 5 years ago by flesler

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

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

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

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

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.