Bug Tracker

Modify

Ticket #12403 (closed bug: fixed)

Opened 20 months ago

Last modified 20 months ago

Selector "> li > :first-child,> :not(li):even" fails in old IE

Reported by: scott.gonzalez Owned by:
Priority: blocker Milestone: 1.8.1
Component: selector Version: git
Keywords: Cc:
Blocking: Blocked by:

Description

The selector by itself doesn't fail, but when run multiple times inside .find() from different elements, the results are incorrect.

 http://jsfiddle.net/Gw42T/1/

Fails in IE 6-8. This is causing jQuery UI accordion tests to fail.

Change History

comment:1 Changed 20 months ago by dmethvin

Further reduction:  http://jsfiddle.net/dzw6W/5/

comment:2 Changed 20 months ago by dmethvin

Okay, it's not the child selector either:  http://jsfiddle.net/dzw6W/6/

comment:3 Changed 20 months ago by dmethvin

  • Priority changed from undecided to blocker
  • Status changed from new to open
  • Component changed from unfiled to selector
  • Milestone changed from None to 1.8.1

comment:5 Changed 20 months ago by Timmy Willison

  • Status changed from open to closed
  • Resolution set to fixed

Sizzle: fix compilation of the same selector with different contexts. Fixes #12403.

Changeset: f42cc8eab873199b93f5458993d4c83394565b4a

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.