[csswg-drafts] [css-properties-values-api] "Property registration cannot be scoped" differs from implementations (#10541)

noamr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-properties-values-api] "Property registration cannot be scoped" differs from implementations ==
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?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10541 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Monday, 8 July 2024 15:59:59 UTC