[Webkit-unassigned] [Bug 218798] New: -webkit-text-fill-color:currentColor not working on disabled inputs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Nov 11 05:27:53 PST 2020


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

            Bug ID: 218798
           Summary: -webkit-text-fill-color:currentColor not working on
                    disabled inputs
           Product: WebKit
           Version: Safari 14
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tomc at caurea.org

Given the following markup:

<div style="color:rgb(0,0,100);">
  <input value="regular" style="color:currentColor;-webkit-text-fill-color:currentColor;" />
  <input value="disabled" disabled style="color:currentColor;-webkit-text-fill-color:currentColor;" />
</div>

The disabled input has visibly different text color from the regular input. Nothing short of explicitly setting a color (ie. a specific rgb value) via -webkit-text-fill-color changes the color. Neither color:rgb(0,0,100), nor color:currentColor, nor -webkit-text-fill-color:currentColor has any effect.

Additionally, the computed style of both inputs show "rgb(0, 0, 100)" for both color / webkitTextFillColor, even though that is evidently not true.

window.getComputedStyle($1).color
"rgb(0, 0, 100)"
window.getComputedStyle($1).webkitTextFillColor
"rgb(0, 0, 100)"

-- 
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/20201111/de0f5a2d/attachment-0001.htm>


More information about the webkit-unassigned mailing list