Re: [csswg-drafts] [css-color-hdr-1] Clarify parsing and serialization of `hdr-color()` (#13597)

Looking at this more, I think optional headroom values are a mis-feature: they give a very small improvement to **terseness** (3 characters typically, ie avoids typing `, 2`) at the expense of reduced **readability** and increased **spec complexity**:

-  define the default value, if one is omitted
- define what happens if _both_ headroom values are omitted (I guess that is covered by "must not be the same")

I think making them mandatory rather than optional would be an improvement. @ccameron-chromium ?

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


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

Received on Thursday, 5 March 2026 20:56:15 UTC