-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Speculativly test :has-slotted() #47587
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These look like good tests to get started with an implementation to me, so it gets my approval, but I'll let one of the spec editors decide if there's anything more we need to do here before merging.
@tabatkins I've got a couple of additional tests for this feature after watching @keithamus work through some WebKit implementation on this feature, would it be better to add them to this PR while it's open or to get this merged in and open a new one? |
@tabatkins let me know if there is anything else I can do here, or in related issues, to support moving this forward. Web Components developers the community over really look forward to a future where these tests are green x-browser. |
c0dd928
to
912713b
Compare
If anyone was interested, I have some follow up tests that build on this in Westbrook#1. I've not added them here in hopes of getting a rough "you're not breaking anything" on these tests first. If it's preferred, I can merge the related PR and the changes will flow right into this one, further proving out the |
Speculatively test :has-slotted() flattened through multiple slot elements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great 👍
As per w3c/csswg-drafts#10586
:has-slotted()
is coming!This adds parsing tests as well as some red/green tests for actual delivery of the selectors in practice.