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

cdoublev has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom-1][css-cascade-4] Define which longhands a shorthand maps to ==
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*](https://drafts.csswg.org/cssom-1/#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](https://drafts.csswg.org/css-cascade-4/#shorthand), 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.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7323 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 27 May 2022 13:47:17 UTC