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 Rendering | Assignee: | 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/ | ||
Timothy Hatcher
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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Timothy Hatcher
*** This bug has been marked as a duplicate of bug 216780 ***