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] "Property registration cannot be scoped" differs from all implementations in a consistent way #10541

Open
noamr opened this issue Jul 8, 2024 · 0 comments

Comments

@noamr
Copy link
Collaborator

noamr commented Jul 8, 2024

See https://drafts.css-houdini.org/css-properties-values-api/#shadow-dom
According to this, @property descriptors work on the flattened tree and don't consider shadow boundaries.
However, no implementation respects this, at least with regards to initial values. See https://css-names-in-the-shadow.glitch.me/property.html: Basically all implementations currently only respect @property declarations that come from the document scope. Perhaps the spec should be amended to reflect that?

@noamr noamr added the Agenda+ label Jul 22, 2024
@noamr noamr changed the title [css-properties-values-api] "Property registration cannot be scoped" differs from implementations Jul 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment