Re: [csswg-drafts] [css-color-4] What serialization should be used when using color(lab ...) syntax to specify a lab color? (#5825)

So concretely, for Lab and LCH: if we go with 

**Option A: serializing `lab()` and `lch()` with the shortest serializable form**

 then

> The serialized form of `lch()` and `lab()` values is derived from the computed value and uses the `lab()` form, with lowercase letters for the function name.

would become

> The serialized form of `lch()`, `lab()`, and `color(lab )` values is derived from the computed value and uses the `lab()` form, with lowercase letters for the function name.

while if we go for 

**Option B: serializing `lab()` and `lch()` as `color(lab ...)`** 

then the entire section [Serializing Lab and LCH values](https://drafts.csswg.org/css-color-4/#serializing-lab-lch) would be shortened, simply stating to serialize as `color(lab)`. Edited versions of the examples would move to [Serializing values of the color() function](https://drafts.csswg.org/css-color-4/#serializing-color-function-values) and the introduction to that section would change from

> The serialized form of `color()` values is derived from the computed value and uses the `color()` form, with lowercase letters for the function name and the colorspace name.

to

>  The serialized form of `color()`, `lab()` and `lch()` values is derived from the computed value and uses the `color()` form, with lowercase letters for the function name and the colorspace name.

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


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

Received on Wednesday, 20 January 2021 15:45:13 UTC