When an element doesn't contain a text node and currentColor is used for background-color, outline, and possibly other properties, the value isn't recalculated when the color changes. This fiddle demonstrates the bug in a few lines of code. https://jsfiddle.net/6tkyor3x/
This affects Safari version 14.0 (15610.1.28.1.9, 15610).
*** Bug 216782 has been marked as a duplicate of this bug. ***
<rdar://problem/69320933>
Style is computed correctly but we fail to repaint.
Created attachment 409550 [details] patch
Created attachment 409556 [details] patch
Created attachment 409558 [details] patch
Committed r267528: <https://trac.webkit.org/changeset/267528> All reviewed patches have been landed. Closing bug and clearing flags on attachment 409558 [details].