Re: [csswg-drafts] [cssom] Serialized CSS shorthand declaration has incorrect property (#12262)

> For example declarations: `border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px;` are serialized as `border: 1px` despite missing the required `border-style-*` and `border-color-*` declarations rather than the correct `border-width: 1px`.

This is not true, based on my understanding of the step 3.4.2:

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

-- 
GitHub Notification of comment by cdoublev
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12262#issuecomment-2933647207 using your GitHub account


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

Received on Tuesday, 3 June 2025 06:19:27 UTC