Bug Tracker

Modify

Ticket #12082 (closed bug: fixed)

Opened 21 months ago

Last modified 21 months 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 21 months 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 21 months ago by gibson042

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

comment:3 Changed 21 months ago by Dave Methvin

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

Update Sizzle to fix #12082, #12087.

Changeset: f70a696598f14917e49dc108271788e2ec2f6587

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.