Bug Tracker

Opened 5 years ago

Closed 5 years ago

#12285 closed bug (fixed)

Selector with :not(:first) isn't working since 1.8

Reported by: mail@… Owned by: timmywil
Priority: blocker Milestone: 1.8.1
Component: selector Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:


I think, I've found a bug with the all new jQuery 1.8. When I have a selector, that contains :not(:first), then the complete selector doesn't have any effect. A common use case for such a selector is a simple accordion.

Testcase: http://jsfiddle.net/X55tK/2/ (With jQuery 1.7.2 the testcase is working well)

Change History (4)

comment:1 Changed 5 years ago by timmywil

  • Component changed from unfiled to selector
  • Milestone changed from None to 1.8.1
  • Owner set to timmywil
  • Priority changed from undecided to blocker
  • Status changed from new to assigned


comment:2 Changed 5 years ago by timmywil

#12287 is a duplicate of this ticket.

comment:3 Changed 5 years ago by timmywil

#12386 is a duplicate of this ticket.

comment:4 Changed 5 years ago by Timmy Willison

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

Update Sizzle: Use tokenization rather than regex for grouping. Fixes #12237, #12205, #12285.

Changeset: b2698928bbdc1b247cb6de28e9b2624ec6b56667

Note: See TracTickets for help on using tickets.