[csswg-drafts] [css-color-5] `color-mix()` serialization is outdated (#13320)

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

== [css-color-5] `color-mix()` serialization is outdated ==
[Serialize a `color-mix()`](https://drafts.csswg.org/css-color-5/#serial-color-mix) still assumes that 1) the `<color-interpolation-method>` is required and always serialized, 2) there isn't a `<hue-interpolation-method>`, and 3) that there are only two colors.

[WPT](https://wpt.fyi/results/css/css-color/parsing/color-valid-color-mix-function.html) expects the interpolation method to be omitted if it's "in oklab", which matches the usual shortest-serialization rule. It doesn't have coverage for the hue interpolation method or variable numbers of colors.

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


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

Received on Friday, 9 January 2026 16:33:03 UTC