- From: Chris Lilley via GitHub <sysbot+gh@w3.org>
- Date: Mon, 07 Mar 2022 20:18:23 +0000
- To: public-css-archive@w3.org
> Oh, another thing specifically about the gamut mapping algorithm that I found by looking at WebKit's implementation was how to deal with colors with OKLCH lightness values that are 0% or >= 100%. @weinig reported that too, and so the spec was fairly recently [clarified](https://drafts.csswg.org/css-color-4/#binsearch): > 2. if the Lightness of origin_OKLCH is greater than or equal to 100%, return { 1 1 1 origin.alpha } in destination > 3. if the Lightness of origin_OKLCH is less than than or equal to 0%, return { 0 0 0 origin.alpha } in destination -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7107#issuecomment-1061094205 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 7 March 2022 20:18:24 UTC