SVG foreignObject is not rendered correctly when its "overflow" attribute is set to "visible". When moving such an object it causes famous "frame lag" effect. Minimum reproducible scenario: Take a red rectangle and move it (drag it): https://jsfiddle.net/8xvobd43/3/ UserAgent: "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_3) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.5 Safari/605.1.15"
Reproduces with STP too.
<rdar://problem/59299110>
Not "frame lag", just bad repaints.
I am able to reproduce (repaint) issue from "JSFiddle" mentioned in Description using Safari 15.5 / Safari Technical Preview 149 on macOS 12.4. Thanks! Chrome Canary 105 works fine while Firefox Nightly 104 has weird issue, where clicking to drag on "red" box makes it move too fast and go to oblivion out of view port.