Re: [csswg-drafts] [css-color-4] Evaluate static gamut mapping algorithms for oklab/oklch spaces (#10579)

The CSS Working Group just discussed `[css-color-4] Evaluate static gamut mapping algorithms for oklab/oklch spaces`, and agreed to the following:

* `RESOLVED: Add these 2 algorithms to the spec with details on why you'd chose one or the other and require one of the three`

<details><summary>The full IRC log of that discussion</summary>
&lt;emilio> ChrisL: current gamut mapping in css spec is inefficient<br>
&lt;emilio> ... lots of people want it because otherwise you get random colors<br>
&lt;emilio> ... we did a bunch of work writing and implementing the algorithms<br>
&lt;emilio> ... implementors seem fine with it<br>
&lt;emilio> fantasai: should be required?<br>
&lt;emilio> ChrisL: my preference would be to put the three in the spec with notes about performance / quality<br>
&lt;emilio> ... and require implementing at least one of them<br>
&lt;emilio> fantasai: are they close visually?<br>
&lt;emilio> ChrisL: all of them are vastly better than clip<br>
&lt;emilio> fantasai: sounds great<br>
&lt;fantasai> s/fantasai: are they/florian: are they/<br>
&lt;emilio> florian: if we spec 3 or 2 and then in a while we realize everyone uses the same one we can adjust but this is a great first step<br>
&lt;fantasai> It might be that all browsers pick the same one, but some other CSS implementations pick a different one due to different market/hardware target, and that's probably ok<br>
&lt;emilio> PROPOSED: Add these 2 algorithms to the spec with details on why you'd chose one or the other and require one of the two<br>
&lt;emilio> florian: do we want to require one of the two? or allow clipping as well?<br>
&lt;fantasai> s/clipping/original one/<br>
&lt;emilio> s/clipping/the one in the spec<br>
&lt;emilio> ChrisL: the two we're adding are approximations to the one in the spec<br>
&lt;emilio> florian: then it seems we should have the three?<br>
&lt;emilio> fantasai: seems fine<br>
&lt;emilio> RESOLVED: Add these 2 algorithms to the spec with details on why you'd chose one or the other and require one of the three<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10579#issuecomment-3200859856 using your GitHub account


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

Received on Tuesday, 19 August 2025 13:51:52 UTC