Skip to main content

Bug Tracker

Side navigation

#12403 closed bug (fixed)

Opened August 27, 2012 01:32AM UTC

Closed August 27, 2012 02:20PM UTC

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

Reported by: scottgonzalez Owned by:
Priority: blocker Milestone: 1.8.1
Component: selector Version: git
Keywords: Cc:
Blocked by: Blocking:
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.

Attachments (0)
Change History (5)

Changed August 27, 2012 02:13AM UTC by dmethvin comment:1

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

Changed August 27, 2012 02:22AM UTC by dmethvin comment:2

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

Changed August 27, 2012 01:34PM UTC by dmethvin comment:3

component: unfiledselector
milestone: None1.8.1
priority: undecidedblocker
status: newopen

Changed August 27, 2012 01:44PM UTC by gibson042 comment:4

Changed August 27, 2012 02:20PM UTC by Timmy Willison comment:5

resolution: → fixed
status: openclosed

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

Changeset: f42cc8eab873199b93f5458993d4c83394565b4a