- From: Chris Lilley via GitHub <noreply@w3.org>
- Date: Wed, 20 Aug 2025 08:48:08 +0000
- To: public-css-archive@w3.org
> It's not clear to me if this resolution only applies to oklab/oklch colors? I believe that was explicitly the intent (which will require spec changes, because currently gamut mapping is invoked whenever a color value is outside the gamut of the display device). > Device independent would include Lab, LCH, Oklab, and OKLch. XYZ spaces aren't specifically mentioned in the resolution. [@ccameron-chromium](https://github.com/ccameron-chromium) suggests [limiting this change](https://github.com/w3c/csswg-drafts/issues/10579#issue-2411507542) to just Oklab and OKLch. Right. I believe that the motivations were: - ICC profile handling relies on CIE Lab (D50) and CIE XYZ (D50) so those should not be altered - OkLab (and OkLCH) are optimized for hue linearity over moderately wide-gamut colors, but were not designed for (and give very odd results) for ultra-wide gamut and especially, for imaginary colors Thus, the agreement that such colors should be gamut mapped into the BT.2020 gamut, which is wide gamut but does not have any imaginary colors. It isn't clear to me when this happens and whether the result of such mapping is reflected in the computed value. -- GitHub Notification of comment by svgeesus Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10579#issuecomment-3204879339 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Wednesday, 20 August 2025 08:48:08 UTC