RESOLVED CONFIGURATION CHANGED 211609
The style.color is used to fill the SVG shapes when the last repeated gradient resource is deleted
https://bugs.webkit.org/show_bug.cgi?id=211609
Summary The style.color is used to fill the SVG shapes when the last repeated gradien...
wildfire0304
Reported 2020-05-07 20:41:40 PDT
Attachments
test case (should show a green rectangle) (770 bytes, text/html)
2020-05-11 13:28 PDT, Said Abou-Hallawa
no flags
wildfire0304
Comment 1 2020-05-07 20:49:55 PDT
<svg viewBox="0 0 24 24" width="24" height="24" fill="currentColor" class='.icon'> <defs> <linearGradient id="linearGradient" x1=0 y1=0 x2=1 y2=1> <stop offset="0" stop-color="#f50000"></stop> <stop offset="1" stop-color="#00bfff"></stop> </linearGradient> </defs> <circle cx=12 cy=12 r=6 fill="url(#wildfire0304)"></circle> </svg> ID `#linearGradient` will appear more than two times, and then disappear in this case
wildfire0304
Comment 2 2020-05-07 20:50:42 PDT
<svg viewBox="0 0 24 24" width="24" height="24" fill="currentColor" class='.icon'> <defs> <linearGradient id="linearGradient" x1=0 y1=0 x2=1 y2=1> <stop offset="0" stop-color="#f50000"></stop> <stop offset="1" stop-color="#00bfff"></stop> </linearGradient> </defs> <circle cx=12 cy=12 r=6 fill="url(#linearGradient)"></circle> </svg> ID `#linearGradient` will appear more than two times, and then disappear in this case
wildfire0304
Comment 3 2020-05-07 20:52:25 PDT
(In reply to wildfire0304 from comment #1) > <svg viewBox="0 0 24 24" width="24" height="24" fill="currentColor" > class='.icon'> > <defs> > <linearGradient id="linearGradient" x1=0 y1=0 x2=1 y2=1> > <stop offset="0" stop-color="#f50000"></stop> > <stop offset="1" stop-color="#00bfff"></stop> > </linearGradient> > </defs> > <circle cx=12 cy=12 r=6 fill="url(#wildfire0304)"></circle> > </svg> > > ID `#linearGradient` will appear more than two times, and then disappear in > this case can't delete this comments, you can see the next
Radar WebKit Bug Importer
Comment 4 2020-05-08 15:48:55 PDT
Said Abou-Hallawa
Comment 5 2020-05-11 13:28:38 PDT
Created attachment 399048 [details] test case (should show a green rectangle)
Ahmad Saleem
Comment 6 2022-12-14 14:17:59 PST
I am not able to reproduce this bug in Safari Technology Preview 160 while it is reproducible in Safari 16.2. STP show "green" rectangle similar to Chrome Canary 110 while Safari 16.2 show "red" rectangle. Marking this as "RESOLVED CONFIGURATION CHANGED".
Note You need to log in before you can comment on or make changes to this bug.