Re: [csswg-drafts] [css-colors-5] Minor syntax problems (#9445)

>  I assume no conversion to the legacy syntax like for rgb/hsl is required for specified value serialization.

For `rgb()` and `hs()`l, that serialization choice (plus the awkward 255 serialization) was driven by decades of backwards compatibility with existing scrips.

For `device-cmyk()`, which currently is implemented solely in CSS to PDF converters which typically do not expose a DOM, there is no such constraint so we can go for a [cleaner solution](https://drafts.csswg.org/css-color-5/#serializing-device-cmyk-values).

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


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

Received on Tuesday, 7 November 2023 14:48:39 UTC