Bug 216782

Summary: background-color: currentColor does not work if `color` dynamically changes on empty elements
Product: WebKit Reporter: Timothy Hatcher <timothy>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: bfulgham, simon.fraser, zalan
Priority: P2    
Version: Safari 14   
Hardware: Unspecified   
OS: Unspecified   
URL: https://jsfiddle.net/htx5kz7w/3/

Description Timothy Hatcher 2020-09-21 08:32:47 PDT
The background should always be the same as the text color. In Safari, if no text is rendered in the container, the background doesn't get updated. Try changing the color and watch the empty div remain the same. See URL for a test case.
Comment 1 Timothy Hatcher 2020-09-21 08:38:10 PDT

*** This bug has been marked as a duplicate of bug 216780 ***