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-scoping] First pass at adding :has-slotted #10959

Merged
merged 4 commits into from
Sep 27, 2024
Merged

[css-scoping] First pass at adding :has-slotted #10959

merged 4 commits into from
Sep 27, 2024

Conversation

LeaVerou
Copy link
Member

In #6867 we resolved to add :has-slotted. This PR is a first pass to add this.

The reference to assignedNodes() reference doesn’t work, not sure why. 🤷🏽‍♀️

There is another open PR by @keithamus but it adds :has-slotted() instead, which is both considerably harder to implement, and not what the resolution is about. I did however include a note that this will be included in a future version.

`assignedNodes` reference doesn’t work
@LeaVerou LeaVerou requested a review from tabatkins September 26, 2024 23:01
css-scoping-1/Overview.bs Outdated Show resolved Hide resolved
css-scoping-1/Overview.bs Outdated Show resolved Hide resolved
LeaVerou and others added 2 commits September 27, 2024 12:27
Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
@LeaVerou LeaVerou requested a review from tabatkins September 27, 2024 19:28
@tabatkins tabatkins merged commit 065b17d into main Sep 27, 2024
1 check passed
@tabatkins tabatkins deleted the has-slotted branch September 27, 2024 21:30
noamr pushed a commit to noamr/csswg-drafts that referenced this pull request Oct 2, 2024
* First pass at adding `:has-slotted`

`assignedNodes` reference doesn’t work

* Fix assignedNodes

* Update css-scoping-1/Overview.bs

Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>

* Fix

---------

Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants