Skip to content

[css-properties-values-api] @property vs setProperty #902

Closed
@andruud

Description

@andruud

Given an @property rule in some stylesheet, how should the two-param setProperty()/CSS.supports() behave? They probably need to take into account the registration caused by the @property rule, even if that registration has not yet been effectuated.

Updating "style data" (as @emilio calls it in this comment) during setProperty() seems nasty.

Do we revisit #880? Give up on @property? Accept the nastiness? Something else?

cc @tabatkins

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions