Bug Tracker

Opened 11 years ago

Closed 11 years ago

#12285 closed bug (fixed)

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

Reported by: [email protected] Owned by: Timmy Willison
Priority: blocker Milestone: 1.8.1
Component: selector Version: 1.8.0
Keywords: Cc:
Blocked by: Blocking:

Description

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 11 years ago by Timmy Willison

Component: unfiledselector
Milestone: None1.8.1
Owner: set to Timmy Willison
Priority: undecidedblocker
Status: newassigned

Confirmed

comment:2 Changed 11 years ago by Timmy Willison

#12287 is a duplicate of this ticket.

comment:3 Changed 11 years ago by Timmy Willison

#12386 is a duplicate of this ticket.

comment:4 Changed 11 years ago by Timmy Willison

Resolution: fixed
Status: assignedclosed

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

Changeset: b2698928bbdc1b247cb6de28e9b2624ec6b56667

Note: See TracTickets for help on using tickets.