[csswg-drafts] [css-color-4] (#8138)

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

== [css-color-4]  ==
This is a question regarding parsing and serialization of lab, lch, oklab and oklch values.

The lightness in all these four color spaces can be specified either as a <percentage> or as a <number>. 
In both [lab and lch](https://csswg.sesse.net/css-color-4/#ex-lab-samples), these values are interpreted this way:

Percent reference range  
for L: 0% = 0.0, 100% = 100.0
for C: 0% = 0, 100% = 150

Instead for [oklab and oklch](https://csswg.sesse.net/css-color-4/#ex-oklab-samples) , these values are interpreted this way:

Percent reference range  
for L: 0% = 0.0, 100% = 1.0
for C: 0% = 0.0 100% = 0.4

We believe that it would be clearer if both behave in a similar way.

Is there any reason why this was decided this way? 


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


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

Received on Monday, 28 November 2022 15:18:46 UTC