Bug Tracker

Ticket #12082 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

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

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

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/

Change History

comment:1 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

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

comment:2 Changed 2 years ago by gibson042

  • Owner set to gibson042
  • Status changed from open to assigned

comment:3 Changed 2 years ago by Dave Methvin

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

Update Sizzle to fix #12082, #12087.

Changeset: f70a696598f14917e49dc108271788e2ec2f6587

Note: See TracTickets for help on using tickets.