Bug Tracker

Ticket #11898 (closed bug: fixed)

Opened 2 years ago

Last modified 2 years ago

prevAll() with a complicated :not() selector returns results in wrong order

Reported by: joed@… Owned by:
Priority: low Milestone: 1.8
Component: manipulation Version: 1.7.2
Keywords: Cc:
Blocking: Blocked by:

Description

When I use a selector in prevAll that has a :not() with multiple classes, like :not(.unwanted,.skip), the results are returned in document order, rather than closest-first (i.e., reverse document order). It can be seen in this simple jsFiddle:

 http://jsfiddle.net/aMXJ6/

I confirmed it in Chrome 19 and Firefox 10 on Windows 7.

Change History

comment:1 Changed 2 years ago by dmethvin

  • Priority changed from undecided to low
  • Status changed from new to open
  • Component changed from unfiled to manipulation
  • Milestone changed from None to 1.next

comment:2 Changed 2 years ago by dmethvin

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

This appears to have been fixed with the Sizzle rewrite(s) in 1.8.

comment:3 Changed 2 years ago by dmethvin

  • Milestone changed from 1.next to 1.8
Note: See TracTickets for help on using tickets.