Re: [csswg-drafts] Idea: Properties with Object Values (#9502)

Things like `margin: { top: 10px; right: 10px; bottom: 10px; left: 10px; }` have been proposed in the past and seem useful.

But I don't see the need to keep it as a complex value associated with the shorthand. I would just desugar at parse-time, expanding to `margin-top: top: 10px; margin-right: 10px; margin-bottom: 10px; margin-left: 10px;`

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


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

Received on Friday, 20 October 2023 10:58:45 UTC