[csswg-drafts] [css-color-5] Clarify serialization of color-mix() using hsl and hwb interpolation methods (#6860)

weinig has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-color-5] Clarify serialization of color-mix() using hsl and hwb interpolation methods ==
The spec, https://drafts.csswg.org/css-color-5/#serial-color-mix, is a bit ambiguous about what the serialization behavior of `color-mix(in hsl ...)` and `color-mix(in hwb ...)` should be.

The chart maps `hsl` to the `hsl(h s l)` form and `hwb` to the `hwb(h w b)` form, and I take that to mean we should serialize how `hsl()` and `hwb()` serialize, namely 8-bit `rgb(r, g, b)` or `rgba(r, g, b, a)`, but if that is the intention, it was be good to call that out.

If its not the intention, and they should serialize to actually be the string `hsl( .... )` and `hwb( ... )` that too could use clarification.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6860 using your GitHub account


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

Received on Monday, 6 December 2021 01:45:22 UTC