Created attachment 459838 [details] actual result When using a CSS mask that is both a linear gradient and SVG image, the gradient is ignored until after selecting the masked element. ``` mask-image: linear-gradient(to bottom, #000, #000 calc(100% - 38px), #0000 calc(100% - 38px), #0000), url("bottomwave.svg"); ``` Each mask works individually. [Demo](https://projects.noahliebman.net/safari-svg-multiple-mask-bug/) The issue does not occur on every reload, but it occurs much of the time. See attachment for video demo.
Thanks for the report, I can reproduce this.
<rdar://problem/94406306>
I'm reproducing its weird bug while using ⌘A, but don't know about the "seemingly wait an arbitrary amount of time". However I've noticed it start working the moment Safari's window loose focus
Created attachment 467169 [details] Demo of making mask-image work by unfocusing Safari's window
It is reproducible in Safari Technology Preview 188. Adding BrowserCompat tag since Firefox Nightly 124 and Chrome Canary 123 are working fine both.