Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 62f91e984f1f3a47103896c68b511fb665f55613
https://github.com/WebKit/WebKit/commit/62f91e984f1f3a47103896c68b511fb665f55613
Author: Sam Weinig <[email protected]>
Date: 2026-06-01 (Mon, 01 Jun 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt
M LayoutTests/platform/ios/TestExpectations
M LayoutTests/platform/mac/TestExpectations
M Source/WebCore/platform/graphics/ColorInterpolation.h
Log Message:
-----------
[Color] Longer hue interpolation incorrect when one input is none
https://bugs.webkit.org/show_bug.cgi?id=315977
Reviewed by Tim Nguyen.
We were incorrectly assuming that if one of the inputs to hue interpolation
was `none` (represent as NaN), we could return the other input like we do
for non-hue components, but due to hue fixup adjusting the inputs, even when
they are equal, we can't make this assumption. Instead, when one of the
inputs is `none`, we need to set it to the value of the other input and
run fixup like normal.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/color-computed-color-mix-function-expected.txt:
* Source/WebCore/platform/graphics/ColorInterpolation.h:
Canonical link: https://commits.webkit.org/314327@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications