Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 16b6493d0355eb3608b0d766c963874f56c7a0ab
https://github.com/WebKit/WebKit/commit/16b6493d0355eb3608b0d766c963874f56c7a0ab
Author: Sam Weinig <[email protected]>
Date: 2026-09-26 (Sat, 26 Sep 2026)
Changed paths:
M LayoutTests/fast/css/color-achromatic-epsilon-expected.txt
M LayoutTests/fast/css/color-achromatic-epsilon.html
M
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-none-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-powerless-expected.txt
M Source/WebCore/platform/graphics/ColorConversion.cpp
M Source/WebCore/platform/graphics/ColorModels.h
Log Message:
-----------
Update CSS color conversion to latest rules on achromatic missing components
https://bugs.webkit.org/show_bug.cgi?id=325289
Reviewed by Anne van Kesteren.
Updates when color conversion produces missing components due to achromaticity
to match the latest specs. This includes:
- Adding achromatic checks for hsl() and hwb() conversions.
- Giving the epsilon values a name, "powerless hue ε"
- Updating the epsilon values to specific constants (rather than relying on
matching color-js and using reference extents).
* LayoutTests/fast/css/color-achromatic-epsilon-expected.txt:
* LayoutTests/fast/css/color-achromatic-epsilon.html:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-none-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-powerless-expected.txt:
* Source/WebCore/platform/graphics/ColorConversion.cpp:
* Source/WebCore/platform/graphics/ColorModels.h:
Canonical link: https://commits.webkit.org/321984@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications