[Webkit-unassigned] [Bug 193028] New: -webkit-text-fill-color has weird interaction with text-decoration-color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 24 21:09:06 PST 2018


https://bugs.webkit.org/show_bug.cgi?id=193028

            Bug ID: 193028
           Summary: -webkit-text-fill-color has weird interaction with
                    text-decoration-color
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: xidorn-webkit at upsuper.org

Created attachment 358053

  --> https://bugs.webkit.org/attachment.cgi?id=358053&action=review

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181225/d2205703/attachment.html>


More information about the webkit-unassigned mailing list