-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature-request] :not()
to support generic selectors (not only "simple" ones)
#51
Comments
Simple selector is defined at https://drafts.csswg.org/selectors-3/#simple-selectors-dfn . It does not include This restriction of Selectors Level 4 lifts that restriction so it would be fine to implement in cssselect. However, I don’t know how translating this into XPath would work. If you figure it out, I’d review a pull request. |
As
where a and b are whatever we already support as conditions, I think. Disclaimer: I may be wrong with these expressions. |
The document (version 0.9.1) says:
May I ask what is a simple selector? Can
:not()
support something like:not(a>b)
?The text was updated successfully, but these errors were encountered: