Re: [csswg-drafts] [css-color] Serializing color() values (#480)

@grorg wrote:

> Resolved. An input of "color" always serializes as "color" Everything else is undefined.

> Extra requirement is that "color" serialization doesn't truncate trailing 0 values. e.g. color(srgb 1 0 0).
It is required to drop the "/ 1" for alpha though (if alpha is 100%).

Those two resolutions are now in the specification

@csswg wrote

>  RESOLVED: color() functions, if they have a choice between percentage and number, they should use number
> RESOLVED: the `color(lab ...)` function, like the rest of the color() values, are in the 0-1 (or 0% - 100%) range. And they serialize the same as other color() values (as a 0-1 number).

Those two as well.

However, on the 22 Oct 2020 TPAC call, it was also resolved to split out serialization from the specified, computed, used and actual values section into a new section, and I am still working on that, so leaving this open for now.


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


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

Received on Friday, 23 October 2020 10:56:13 UTC