WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
193028
-webkit-text-fill-color has weird interaction with text-decoration-color
https://bugs.webkit.org/show_bug.cgi?id=193028
Summary
-webkit-text-fill-color has weird interaction with text-decoration-color
Xidorn Quan
Reported
2018-12-24 21:09:06 PST
Created
attachment 358053
[details]
testcase Steps to reproduce the problem: Open this file. What is the expected behavior? The underline should be green rather than yellow as the same color of the text. What went wrong? The underline is also yellow. Firefox has the right behavior, but got a bug report for this behavior:
https://bugzilla.mozilla.org/show_bug.cgi?id=1514467
Blink has the same behavior as WebKit. It can be seen that the resolved value of text-decoration-color of the element returned from gCS is (correctly) green, however, it's ignored by rendering. However, if I explicitly add text-decoration-color declaration to the style attribute, the resolve value keeps the same but the rendering is correct. This behavior doesn't conform to the spec, and it doesn't make much sense to me.
Attachments
testcase
(99 bytes, text/html)
2018-12-24 21:09 PST
,
Xidorn Quan
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Myles C. Maxfield
Comment 1
2019-01-02 14:27:06 PST
We should fix this because we just unprefixed this property.
Radar WebKit Bug Importer
Comment 2
2019-01-02 14:27:24 PST
<
rdar://problem/47010945
>
Ahmad Saleem
Comment 3
2022-08-29 03:22:09 PDT
I am able to reproduce this bug in Safari Technology Preview 152 and Chrome Canary 107 using attached test case, where the underline is "Yellow" rather than "Green". Only Firefox Nightly 106 show "Green" underline. Just wanted to share update testing results. Thanks!
Karl Dubost
Comment 4
2023-03-19 17:52:47 PDT
https://searchfox.org/wubkat/search?q=symbol:E_%3CT_WebCore%3A%3ACSSPropertyID%3E_CSSPropertyWebkitTextFillColor&redirect=false
https://wpt.fyi/results/compat/webkit-text-fill-color-property-005.html
http://wpt.live/compat/webkit-text-fill-color-property-005.html
The Compat Spec text
https://compat.spec.whatwg.org/#the-webkit-text-fill-color
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug