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

From [serialize a CSS component value](https://drafts.csswg.org/cssom-1/#serialize-a-css-component-value):

  > - **`<percentage>`** The `<number>` component serialized as per `<number>` followed by the literal string "%" (U+0025).
  > - **`<number>`** A base-ten number using digits 0-9 (U+0030 to U+0039) in the shortest form possible, using "." to separate decimals (if any), rounding the value if necessary to not produce more than 6 decimals, preceded by "-" (U+002D) if it is negative.

My example implied single-precision float but yes, in hindsight, infinite precision makes more sense.

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


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

Received on Friday, 10 April 2026 13:27:20 UTC