Opened 11 years ago
Closed 11 years ago
#12238 closed bug (duplicate)
Having multiple :not(:has()) selectors throws a syntax error.
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.8.0 |
Keywords: | Cc: | Timmy Willison | |
Blocked by: | Blocking: |
Description
Having similar to the following selector fails with syntax error: $("div:not(:has(span.bar)):not(:has(a.baz))")
This seems to work with 1.7 version.
Here you can find simple repro: http://jsbin.com/orohus/1
Change History (3)
comment:1 Changed 11 years ago by
Cc: | Timmy Willison added |
---|---|
Component: | unfiled → selector |
Priority: | undecided → low |
comment:2 Changed 11 years ago by
This selector haunts my dreams. Godspeed, timmywil... We're all counting on you.
Note: See
TracTickets for help on using
tickets.
Confirmed, however I can't quite help but feel like the complexity of the selector you're using can be significantly simplified. I imagine this change is related to the Sizzle rewrite.