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-properties-values-api] 2.8 Shadow DOM implies @property rules should work from shadow tree #1128

Closed
Kaiido opened this issue Sep 30, 2024 · 2 comments

Comments

@Kaiido
Copy link
Contributor

Kaiido commented Sep 30, 2024

2.8 Shadow DOM currently reads

All registrations, whether they appear in the outermost document or within a shadow tree, interact in a single global registration map for the Document.

Which seems to imply that it's possible to make such a registration from a shadow tree. There is even a test for this: https://github.com/web-platform-tests/wpt/blob/master/css/css-properties-values-api/at-property-shadow.html
However in #846 it's been decided that it shouldn't work from shadow DOM, at least for now. Implementations seem to agree on this.

Should the specs and test be edited?

@zrhoffman
Copy link
Contributor

Should the specs and test be edited?

The current discussion is in w3c/csswg-drafts#10541.

@Kaiido
Copy link
Contributor Author

Kaiido commented Sep 30, 2024

Oh, sorry I missed it moved to csswg-drafts. Thanks for the link.

@Kaiido Kaiido closed this as completed Sep 30, 2024
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

No branches or pull requests

2 participants