Skip to content

[css-properties-values-api] When can reifying a registered prop's value ever hit step 7? #897

@tabatkins

Description

@tabatkins

Currently, step 7 of the computed-value reifying algorithm https://drafts.css-houdini.org/css-properties-values-api/#reify-a-registered-custom-property-value says to reify as a CSSStyleValue, if all the previous steps failed.

This isn't correct as-is (it needs to specify what property it's for), but also, I'm not sure how it could ever hit that case in the first place. Step 6 catches if it's a <declaration-value> already, and since it's the value of a declaration that you're reifying, that seems to catch 100% of cases, right?

So I think instead we should delete step 7, and change step 6 to just be an "otherwise", without a further condition.

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