RESOLVED CONFIGURATION CHANGED 223534
REGRESSION (Safari 14): background: currentColor for buttons not correctly updating for pseudo selectors
https://bugs.webkit.org/show_bug.cgi?id=223534
Summary REGRESSION (Safari 14): background: currentColor for buttons not correctly up...
auster.s.chen
Reported 2021-03-19 13:38:19 PDT
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
Attachments
auster.s.chen
Comment 1 2021-03-22 11:17:38 PDT
Further testing shows that this may be due to some repainting bug, see jsfiddle here adding in some react states: https://jsfiddle.net/zpo7br92/1/
Radar WebKit Bug Importer
Comment 2 2021-03-22 14:48:42 PDT
Antti Koivisto
Comment 3 2021-04-15 06:40:21 PDT
Appears to be fixed in trunk (also in the current macOS 11.3 seed builds).
Note You need to log in before you can comment on or make changes to this bug.