-
-
Notifications
You must be signed in to change notification settings - Fork 903
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
Support direct combinators in CSS :has() #1895
Conversation
Code Climate has analyzed commit 593fae6 and detected 0 issues on this pull request. The test coverage on the diff in this pull request is 100.0% (80% is the threshold). This pull request will bring the total coverage in the repository to 93.5%. View more on Code Climate. |
@jonathanhefner Thanks for submitting this PR! I've added some tests that run CSS queries on a real document to make sure I understand how these pseudoselector queries work. Should be through CI shortly! |
8f01e8f
to
c88c9b7
Compare
Adds support for CSS queries like "a:has(> b)", "a:has(~ b)", and "a:has(+ b)". Closes sparklemotion#688.
so we can add more ad-hoc CSS tests there
8f548bf
to
593fae6
Compare
Sorry for the force-push, rebased onto current master. |
Thank you! This will be in v1.11.0 when it ships. Watch the milestone for details. |
@flavorjones Thank you for adding those tests and merging this in! 😃 |
What problem is this PR intended to solve?
Adds support for CSS queries like
"a:has(> b)"
,"a:has(~ b)"
, and"a:has(+ b)"
.Closes #688.
Have you included adequate test coverage?
Yes, I think so.
Does this change affect the C or the Java implementations?
No.