Skip to content

[css-properties-values-api] "Property registration cannot be scoped" differs from all implementations in a consistent way #10541

@noamr

Description

@noamr

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?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Thurs afternoon

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions