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.
<rdar://problem/40472995>
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!