Created attachment 426506 [details] An file containing an example of the problem When zooming the browser (via CMD Plus, CMD Minus or via the menu bar), an element with an SVG clip path property set does not scale properly on Safari. I've attached a file clip-path-bug.html showing an example reproduction. Notice that when zooming in/out, the red element which has an SVG clip path property remains the same size, but other elements scale as expected. This behaviour is not reproducible on Chrome/Firefox, they both scale the red element as expected with the zoom level.
I can reproduce.
<rdar://problem/77187161>
This testcase works correctly now, but there's still a bug when the clip-path references an SVG element.
Created attachment 436721 [details] Test case
Created attachment 436723 [details] Patch
Committed r281736 (241078@main): <https://commits.webkit.org/241078@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 436723 [details].
This change should be present in STP 139, iOS 15.4 Beta, and macOS 12.3 Beta.