Bug Tracker

Ticket #12403 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years 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 2 years ago by dmethvin

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

comment:2 Changed 2 years ago by dmethvin

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

comment:3 Changed 2 years 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 2 years 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

Note: See TracTickets for help on using tickets.