You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
noamr
changed the title
[css-properties-values-api] "Property registration cannot be scoped" differs from implementations
[css-properties-values-api] "Property registration cannot be scoped" differs from all implementations in a consistent way
Jul 22, 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?The text was updated successfully, but these errors were encountered: