Re: [csswg-drafts] [cssom] Shortest serialization principle with multiple minimal possibilities (#8155)

This might be more of a spec wording issue, but I'd like to throw it in anyways:
The spec says
> If component values can be omitted or replaced with a shorter representation without changing the meaning of the value, omit/replace them.

"shorter representation", to me, sounds like if there's a choice between two keywords, the shorter one wins (i.e. shorter in terms of actual resulting string length). Although this would be problematic for backwards compat because anytime a new, shorter keyword gets added, it'd need to be made an exception.

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


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

Received on Wednesday, 28 January 2026 23:27:26 UTC