Re: [csswg-drafts] [css-color-4] Percentage reference ranges for `lab()`/`oklab()`/`lch()`/`oklch`/`color()` (#7064)

from https://github.com/w3c/csswg-drafts/issues/6741#issuecomment-1041893440

The CSS Working Group just discussed `[css-color] Support all existing (non-legacy?) formats in color()?`, and agreed to the following:

* `RESOLVED: Will add this to the color-4 module, after forking to a new issue`

<details><summary>The full IRC log of that discussion</summary>
&lt;emeyer> Topic: [css-color] Support all existing (non-legacy?) formats in color()?<br>
&lt;emeyer> Github: https://github.com/w3c/csswg-drafts/issues/6741<br>
&lt;Rossen_> q:<br>
&lt;Rossen_> q<br>
&lt;emeyer> lea: Looking for consensus for our plan on percentages.  Right now they’re aliased to 0-1 ranges.<br>
&lt;emeyer> …We were thinking o using them for a reference range based on p3 so people can use absolute coordinates if they want, or use percentages if they want something close enough.<br>
&lt;lea> https://github.com/w3c/csswg-drafts/issues/6741#issuecomment-1028141623<br>
&lt;emeyer> s/ o / of /<br>
&lt;emeyer> chris: Mostly I wanted more feedback just to be sure this is what we want to do.<br>
&lt;emeyer> lea: What’s unclear is whether this about the color() function or is it about other things?<br>
&lt;emeyer> chris: It’s about the other things.<br>
&lt;emeyer> Lea: we really need a new issues.<br>
&lt;emeyer> Rossen: We can definitely get a different issue.  Chris, you framed this as a question toward implementors, so let’s hear from them.<br>
&lt;emeyer> Mike Bremford: Changing it isn’t a big deal either way.<br>
&lt;emeyer> TabAtkins: +1 from me as well.  I like this from the perspective of “all color models accept the same input space”.<br>
&lt;lea> Note that this means that color(rec2020 50% 100% 50%) will NOT be equal to color(rec2020 .5 1 .5)<br>
&lt;emeyer> Rossen: Any objections?<br>
&lt;lea> (+1 from me too, in case it's not clear)<br>
&lt;emeyer> …As next steps, we’ll break this out into its own issue, build consensus, and get it into a spec.<br>
&lt;emeyer> RESOLVED: Will add this to the color-4 module, after forking to a new issue<br>
</details>


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


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

Received on Wednesday, 16 February 2022 20:07:10 UTC