Bug 258615

Summary: SVG Transform Origins incorrect when page is zoomed in
Product: WebKit Reporter: Maurice Conrad <mauriceconrad>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal CC: ahmad.saleem792, mauriceconrad, sabouhallawa, simon.fraser, webkit-bug-importer, zalan, zimmermann
Priority: P2 Keywords: InRadar
Version: Safari 16   
Hardware: Mac (Apple Silicon)   
OS: macOS 13   
See Also: https://bugs.webkit.org/show_bug.cgi?id=218300
https://bugs.webkit.org/show_bug.cgi?id=194903
https://bugs.webkit.org/show_bug.cgi?id=133150
Attachments:
Description Flags
Screen recording demonstrating the issue none

Description Maurice Conrad 2023-06-28 04:47:37 PDT
If the user zooms in or out of the page (which makes the viewport smaller or bigger), the SVG transform origin is not working correctly. Example: https://codepen.io/mauriceconrad/pen/WNYpjmR

To reproduce the issue, you have to change the viewports zoom level using ⌘+ or ⌘-
Comment 1 Maurice Conrad 2023-06-28 04:48:31 PDT
Created attachment 466842 [details]
Screen recording demonstrating the issue

Screen recording that shows the issue
Comment 2 Radar WebKit Bug Importer 2023-06-29 13:47:43 PDT
<rdar://problem/111530413>
Comment 3 Simon Fraser (smfr) 2023-08-21 10:36:47 PDT

*** This bug has been marked as a duplicate of bug 194903 ***