Skip to content

[cssom-1][css-cascade-4] Define which longhands a shorthand maps to #7323

@cdoublev

Description

@cdoublev

I would like to know if a shorthand is considered to map to all its sub-properties, including reset-only sub-properties.

If all properties that map to shorthand are not present in longhands, continue with the steps labeled shorthand loop.

According to the above step from serialize a CSS declaration block, I guess reset-only sub-properties are excluded from the longhands that the shorthand maps to. But from reading 3. Shorthand properties in Cascade 4, this is not clearly defined, and I'm not sure how to serialize a shorthand to empty string if one of its reset-only sub-property is declared with a non-initial value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Closed as Question AnsweredUsed when the issue is more of a question than a problem, and it's been answered.css-cascade-3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions