Side navigation
#12238 closed bug (duplicate)
Opened August 10, 2012 08:59AM UTC
Closed August 10, 2012 03:16PM UTC
Having multiple :not(:has()) selectors throws a syntax error.
Reported by: | r.osenkonstantinov@gmail.com | Owned by: | |
---|---|---|---|
Priority: | low | Milestone: | None |
Component: | selector | Version: | 1.8.0 |
Keywords: | Cc: | timmywil | |
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:
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.