<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>193028</bug_id>
          
          <creation_ts>2018-12-24 21:09:06 -0800</creation_ts>
          <short_desc>-webkit-text-fill-color has weird interaction with text-decoration-color</short_desc>
          <delta_ts>2023-03-19 17:52:58 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Xidorn Quan">xidorn-webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>karlcow</cc>
    
    <cc>mmaxfield</cc>
    
    <cc>pvollan</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1490754</commentid>
    <comment_count>0</comment_count>
      <attachid>358053</attachid>
    <who name="Xidorn Quan">xidorn-webkit</who>
    <bug_when>2018-12-24 21:09:06 -0800</bug_when>
    <thetext>Created attachment 358053
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&apos;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&apos;t conform to the spec, and it doesn&apos;t make much sense to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491260</commentid>
    <comment_count>1</comment_count>
    <who name="Myles C. Maxfield">mmaxfield</who>
    <bug_when>2019-01-02 14:27:06 -0800</bug_when>
    <thetext>We should fix this because we just unprefixed this property.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1491261</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2019-01-02 14:27:24 -0800</bug_when>
    <thetext>&lt;rdar://problem/47010945&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894461</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-29 03:22:09 -0700</bug_when>
    <thetext>I am able to reproduce this bug in Safari Technology Preview 152 and Chrome Canary 107 using attached test case, where the underline is &quot;Yellow&quot; rather than &quot;Green&quot;. Only Firefox Nightly 106 show &quot;Green&quot; underline.

Just wanted to share update testing results. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1942451</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2023-03-19 17:52:47 -0700</bug_when>
    <thetext>https://searchfox.org/wubkat/search?q=symbol:E_%3CT_WebCore%3A%3ACSSPropertyID%3E_CSSPropertyWebkitTextFillColor&amp;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</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>358053</attachid>
            <date>2018-12-24 21:09:06 -0800</date>
            <delta_ts>2018-12-24 21:09:06 -0800</delta_ts>
            <desc>testcase</desc>
            <filename>text-fill-decoration-color.html</filename>
            <type>text/html</type>
            <size>99</size>
            <attacher name="Xidorn Quan">xidorn-webkit</attacher>
            
              <data encoding="base64">PGRpdiBzdHlsZT0idGV4dC1kZWNvcmF0aW9uOiB1bmRlcmxpbmU7IGNvbG9yOiBncmVlbjsgLXdl
YmtpdC10ZXh0LWZpbGwtY29sb3I6IHllbGxvdzsiPnRlc3Q8L2Rpdj4K
</data>

          </attachment>
      

    </bug>

</bugzilla>