Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 8a932317598d80019be6d615162ff57e18df5de6
https://github.com/WebKit/WebKit/commit/8a932317598d80019be6d615162ff57e18df5de6
Author: Anne van Kesteren <[email protected]>
Date: 2026-05-07 (Thu, 07 May 2026)
Changed paths:
M LayoutTests/TestExpectations
M
LayoutTests/fast/text/text-decoration-currentcolor-fill-color-expected.html
M
Source/WebCore/style/computed/StyleComputedStyleProperties+GettersCustomInlines.h
Log Message:
-----------
-webkit-text-fill-color has weird interaction with text-decoration-color
https://bugs.webkit.org/show_bug.cgi?id=193028
rdar://47010945
Reviewed by Antti Koivisto.
Make text-decoration-color: currentcolor (default) use color instead of
-webkit-text-fill-color as required by the CSS specifications.
The change to fast/text/text-decoration-currentcolor-fill-color.html
requires some justification. 227884@main added it as follows for an
internal UI regression:
<style>
div {
background-color: red;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
</style>
<div><a href="">PASS if no underline</a></div>
The idea was that the underline would be hidden as it gets its color
from -webkit-text-fill-color. Today however that shows an underline,
suggesting the internal UI regression was resolved in some other way.
282060@main subsequently changed the test and might be the cause for
the test showing an underline, but given that the original behavior is
in violation of the specifications and there was no other fallout, we
should align with the specifications.
Canonical link: https://commits.webkit.org/312789@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications