- From: Kevin Babbitt via GitHub <noreply@w3.org>
- Date: Wed, 11 Feb 2026 05:42:34 +0000
- To: public-css-archive@w3.org
In cases where there are multiple shorthands that include a longhand, how do we determine which shorthand we use when serializing out a `from-shorthand()` value? ```js document.body.style.border = "2px dotted red"; console.log(document.style.borderLeftWidth); ``` Do I get: 1. `from-shorthand(border: 2px dotted red)` 2. `from-shorthand(border-left: 2px dotted red)` 3. `from-shorthand(border-width: 2px)` Does the answer change if I set `document.body.style.borderLeft` instead? -- GitHub Notification of comment by kbabbitt Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8055#issuecomment-3882284024 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 11 February 2026 05:42:35 UTC