-
Notifications
You must be signed in to change notification settings - Fork 874
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
css feature :has does not recognize pseudo classes #5303
Comments
@mokraemer please have a look at the referenced PR and test it. If you need a prebuild binary, it is available from the CI summary or from this direct link: https://github.com/apache/netbeans/suites/10786014570/artifacts/542201388 |
downloaded the referenced dev build. Thanks! |
@mokraemer thanks for the test. I merged a slightly updated version, based on review. |
Apache NetBeans version
Apache NetBeans 16
What happened
just add
body:has(#aCheck:checked) {
background-color:red;
}
this is marked as syntax error, but this is valid. has can contain any selector, even pseudo classes
How to reproduce
No response
Did this work correctly in an earlier version?
No / Don't know
Operating System
Mageia 8 (Linux)
JDK
java-11-openjdk-11.0.17.0.8
Apache NetBeans packaging
Apache NetBeans binary zip
Anything else
No response
Are you willing to submit a pull request?
No
Code of Conduct
Yes
The text was updated successfully, but these errors were encountered: