CARVIEW |
Select Language
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Fri, 10 Oct 2025 22:47:58 GMT
Content-Type: text/html
Content-Length: 162
Location: https://bugs.jquery.com/ticket/11898/
Connection: keep-alive
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
HTTP/1.1 200 OK
Server: nginx
Date: Fri, 10 Oct 2025 22:47:58 GMT
Content-Type: text/html
Last-Modified: Wed, 18 Sep 2024 14:30:33 GMT
Transfer-Encoding: chunked
Connection: keep-alive
Vary: Accept-Encoding
ETag: W/"66eae409-2f95"
Reporting-Endpoints: csp-endpoint='https://csp-report-api.openjs-foundation.workers.dev/'
Content-Security-Policy: default-src 'self'; script-src 'self' 'wasm-unsafe-eval' code.jquery.com; connect-src 'self'; img-src 'self' secure.gravatar.com; style-src 'self'; media-src 'self' content.jquery.com; report-uri https://csp-report-api.openjs-foundation.workers.dev/; report-to csp-endpoint
Content-Encoding: gzip
#11898 (prevAll() with a complicated :not() selector returns results in wrong order) - jQuery - Bug Tracker
jQuery issues have moved to GitHub. This site is now a static archive of the old Trac bugs site. Some functions and pages are no longer available.
Skip to main content
Bug Tracker
Side navigation
#11898 closed bug (fixed)
Opened June 12, 2012 01:19PM UTC
Closed July 25, 2012 01:47AM UTC
Last modified July 25, 2012 01:48AM UTC
prevAll() with a complicated :not() selector returns results in wrong order
Reported by: | joed@epurchasepower.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | 1.8 |
Component: | manipulation | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
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:
I confirmed it in Chrome 19 and Firefox 10 on Windows 7.
Attachments (0)
Change History (3)
Changed June 12, 2012 03:30PM UTC by dmethvin comment:1
component: | unfiled → manipulation |
---|---|
milestone: | None → 1.next |
priority: | undecided → low |
status: | new → open |
Changed July 25, 2012 01:47AM UTC by dmethvin comment:2
resolution: | → fixed |
---|---|
status: | open → closed |
This appears to have been fixed with the Sizzle rewrite(s) in 1.8.
Changed July 25, 2012 01:48AM UTC by dmethvin comment:3
milestone: | 1.next → 1.8 |
---|