[csswg-drafts] [css-colors-5] Serialization of `color-mix()` percentages in declared values (#12266)

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

== [css-colors-5] Serialization of `color-mix()` percentages in declared values ==
#11530 resolved on accepting **one or more** colors in `color-mix()` but [11.1. Serializing color-mix()](https://drafts.csswg.org/css-color-5/#serial-color-mix) still defines how to serialize with **exactly two** colors.

More specifically, it defines when percentage values must be omitted. Or for example, when the specified value is `color-mix(blue, 70% yellow)`, it wants `color-mix(blue 30%, yellow)`, which is not shorther.

Should it be expanded? changed? dropped?

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


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

Received on Tuesday, 3 June 2025 14:42:16 UTC