RESOLVED CONFIGURATION CHANGED 185863
Empty filter changes appearance of SVG group element containing mask
https://bugs.webkit.org/show_bug.cgi?id=185863
Summary Empty filter changes appearance of SVG group element containing mask
Jan Bösenberg
Reported 2018-05-22 05:00:25 PDT
Created attachment 340973 [details] Test case showing the group without and with empty filter applied In the attached test case (online version at http://jsbin.com/mewosoteya ) an empty filter is applied to a group element that contains two rect elements, of which one is masked. It would be expected that the filter has no effect at all, but the empty filter changes the appearance of the displayed gradient. It does not make any difference if the filter's "color-interpolation-filters" attribute is set to "sRGB" or "linearRGB". On Safari only the left square is displayed correctly. The other two squares show a wrong gradient. On all other browsers all squares look the same.
Attachments
Test case showing the group without and with empty filter applied (1.57 KB, image/svg+xml)
2018-05-22 05:00 PDT, Jan Bösenberg
no flags
Radar WebKit Bug Importer
Comment 1 2018-05-22 19:02:32 PDT
Ahmad Saleem
Comment 2 2022-12-14 14:31:07 PST
I am not able to reproduce this bug in Safari 16.2 and the gradient is applied consistently across all three rectangles / boxes and it matches with Chrome Canary 110 and Firefox Nightly 110. Please reopen if I am testing it incorrectly. Thanks!
Note You need to log in before you can comment on or make changes to this bug.