Skip to main content

Bug Tracker

Side navigation

#10315 closed bug (fixed)

Opened September 20, 2011 03:07AM UTC

Closed September 20, 2011 03:10AM UTC

Last modified September 20, 2011 03:10AM UTC

Sizzle ignores seed argument when using positional selectors

Reported by: timmywil Owned by: timmywil
Priority: high Milestone: 1.7
Component: selector Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
Description

Dave and I found this when exploring #7322. Filtering with a span:first selector gave us an anchor tag: http://jsfiddle.net/timmywil/eJ4yd/4/

I followed the codepath and discovered that the seed argument was not passed through. Tests added to jQuery traversing for the fix in Sizzle.

Attachments (0)
Change History (3)

Changed September 20, 2011 03:07AM UTC by timmywil comment:1

component: unfiledselector
owner: → timmywil
priority: undecidedhigh
status: newassigned

Changed September 20, 2011 03:10AM UTC by timmywil comment:2

resolution: → fixed
status: assignedclosed

Added filtering tests and updating sizzle to fix filtering with positional selectors. Fixes #10315.

Changeset: 11c9de477c5fe005a2487c761c257653aaf97a37

Changed September 20, 2011 03:10AM UTC by timmywil comment:3

milestone: None1.7