Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: c9369cae04b3f9bd049801a6b27f19707d65b153
https://github.com/WebKit/WebKit/commit/c9369cae04b3f9bd049801a6b27f19707d65b153
Author: Sam Weinig <[email protected]>
Date: 2026-09-24 (Thu, 24 Sep 2026)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/alpha-color-computed-expected.txt
M Source/WebCore/css/values/color/CSSColorMixResolver.cpp
M Source/WebCore/css/values/color/CSSRelativeAlphaColorResolver.cpp
Log Message:
-----------
Force modern / extended type serialization when using relative alpha() colors
https://bugs.webkit.org/show_bug.cgi?id=325175
Reviewed by Tim Nguyen.
As with color-mix() and other relative color expressions, relative alpha()
color expressions results should be in the most precise form.
Also does a tiny micro-optimization in the color-mix() resolver to compute
the flags outside the type switch to avoid duplicating that code.
*
LayoutTests/imported/w3c/web-platform-tests/css/css-color/parsing/alpha-color-computed-expected.txt:
* Source/WebCore/css/values/color/CSSColorMixResolver.cpp:
* Source/WebCore/css/values/color/CSSRelativeAlphaColorResolver.cpp:
Canonical link: https://commits.webkit.org/321829@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications