[Webkit-unassigned] [Bug 223534] New: [REGRESSION] background: currentColor for buttons not correctly updating for pseudo selectors

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 19 13:38:19 PDT 2021


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

            Bug ID: 223534
           Summary: [REGRESSION] background: currentColor for buttons not
                    correctly updating for pseudo selectors
           Product: WebKit
           Version: Safari 14
          Hardware: Mac (Intel)
                OS: macOS 10.15
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: auster.s.chen at gmail.com

JS fiddle example: https://jsfiddle.net/o3295xLz/2/

Steps to reproduce:

1. Create a button element (can also be replicated by non-button elements but those can be fixed by having text content)
2. set button `background-color` to `'currentColor'` and set button `color` to any color
3. create a pseudo selector for any button state, ex: `:hover`, `:active`, and update color attribute to a different color
4. activate button state and notice that the background color does not properly repaint, interacting with the button may intermittently fix

Notes:

- Not reproducible on Safari 13
- Not reproducible on Firefox/Chrome

-- 
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/20210319/2757e712/attachment.htm>


More information about the webkit-unassigned mailing list