RESOLVED FIXED227219
fill with currentColor and later color change via CSS is not applied
https://bugs.webkit.org/show_bug.cgi?id=227219
Summary fill with currentColor and later color change via CSS is not applied
Peter Krautzberger
Reported 2021-06-21 08:59:44 PDT
The following simplified example renders a blue circle in Blink and Gecko but a red circle in WebKit. <svg viewBox="0 0 100 100" width="100" xmlns="http://www.w3.org/2000/svg" style="color:red;"> <g fill="currentColor"> <g style="color:blue;"> <circle cx="50" cy="50" r="50" /> </g> </g> </svg>
Attachments
Radar WebKit Bug Importer
Comment 1 2021-06-28 09:00:17 PDT
Ahmad Saleem
Comment 2 2022-11-06 03:05:48 PST
I am able to reproduce this bug in Safari Technology Preview 156 & Safari 16.1 where it shows "red" circle compared to "blue", while Chrome Canary 109 and Firefox Nightly 108 show "blue".
Matthieu Dubet
Comment 3 2022-11-07 06:31:29 PST
Matthieu Dubet
Comment 4 2022-11-07 14:38:20 PST
EWS
Comment 5 2022-11-08 08:01:47 PST
Committed 256447@main (92afb29672fb): <https://commits.webkit.org/256447@main> Reviewed commits have been landed. Closing PR #6222 and removing active labels.
Tim Nguyen (:ntim)
Comment 6 2023-05-30 13:04:48 PDT
*** Bug 95083 has been marked as a duplicate of this bug. ***
Note You need to log in before you can comment on or make changes to this bug.