Re: [csswg-drafts] [css-color-4] Gamut Mapping Algorithm and Color Banding (#7135)

@svgeesus should we update WPT to account for the changes in e30aec4ca7c827356a3091008117c662bd7e0fe2? When I tried to update Lightning CSS to use the new algorithm, I got a bunch of test failures. For example, `color-mix(in hsl, color(display-p3 0 1 0) 100%, rgb(0, 0, 0) 0%)` is now `rgb(0, 251, 41)` instead of `rgb(0, 249, 66)`. https://github.com/web-platform-tests/wpt/blob/dda6cb1e287b24031d52adeb481e948f4d8dde0b/css/css-color/parsing/gamut-mapping.html#L18 I see that [WebKit](https://github.com/WebKit/WebKit/blob/31c3e79e949e6fa5e661a2671baf8e8d23953c71/Source/WebCore/platform/graphics/ColorConversion.h#L219) also still implements the old algorithm.

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


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

Received on Sunday, 9 April 2023 17:07:22 UTC