Skip to main content

Bug Tracker

Side navigation

#12082 closed bug (fixed)

Opened July 13, 2012 11:50PM UTC

Closed July 20, 2012 02:08AM UTC

.find() POS selector no longer working in 1.8b2

Reported by: Matt Hall <bizear@gmail.com> Owned by: gibson042
Priority: blocker Milestone: 1.8
Component: selector Version: 1.8b2
Keywords: Cc:
Blocked by: Blocking:
Description

Using .find() in combination with a single pseudo selector is broken and throws the following error:

results is null: return results.length ? fn( results, argument, not ) : [];

Fiddle can be found here:

http://jsfiddle.net/matthall/GdQUu/1/

Attachments (0)
Change History (3)

Changed July 14, 2012 12:41AM UTC by dmethvin comment:1

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

Interesting, because adding an explicit * fixes the problem: http://jsfiddle.net/GdQUu/2/

Changed July 14, 2012 01:19PM UTC by gibson042 comment:2

owner: → gibson042
status: openassigned

Changed July 20, 2012 02:08AM UTC by Dave Methvin comment:3

resolution: → fixed
status: assignedclosed

Update Sizzle to fix #12082, #12087.

Changeset: f70a696598f14917e49dc108271788e2ec2f6587