Skip to content
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

Closed
mokraemer opened this issue Jan 17, 2023 · 3 comments · Fixed by #5432
Closed

css feature :has does not recognize pseudo classes #5303

mokraemer opened this issue Jan 17, 2023 · 3 comments · Fixed by #5432
Assignees
Labels
kind:feature A feature request

Comments

@mokraemer
Copy link

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

@mokraemer mokraemer added kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jan 17, 2023
@matthiasblaesing matthiasblaesing added kind:feature A feature request and removed kind:bug Bug report or fix needs:triage Requires attention from one of the committers labels Jan 26, 2023
@matthiasblaesing matthiasblaesing self-assigned this Jan 26, 2023
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Feb 4, 2023
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Feb 4, 2023
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Feb 4, 2023
matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Feb 5, 2023
@matthiasblaesing
Copy link
Contributor

@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

@mokraemer
Copy link
Author

downloaded the referenced dev build.
It looks good for me. No more complains about the syntax.

Thanks!

matthiasblaesing added a commit to matthiasblaesing/netbeans that referenced this issue Feb 5, 2023
@matthiasblaesing
Copy link
Contributor

@mokraemer thanks for the test. I merged a slightly updated version, based on review.

vieiro pushed a commit to vieiro/netbeans-cnd that referenced this issue Mar 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind:feature A feature request
Projects
None yet
2 participants