NEW290777
Browser zoom acts twice on SVG foreignObject
https://bugs.webkit.org/show_bug.cgi?id=290777
Summary Browser zoom acts twice on SVG foreignObject
xworld21
Reported 2025-03-31 11:14:21 PDT
Created attachment 474774 [details] HTML example Applying the browser zoom to a page has outsized effect on the content of foreign objects in SVG. An image as simple as the following Text: <svg width="100" height="20"><foreignObject width="100" height="20">Text</foreignObject></svg> shows how the two words 'Text' change size very differently with the browser zoom. Screenshots attached.
Attachments
HTML example (101 bytes, text/html)
2025-03-31 11:14 PDT, xworld21
no flags
Screenshot at +1 zoom (5.41 KB, image/png)
2025-03-31 11:14 PDT, xworld21
no flags
Screenshot at +2 zoom (5.63 KB, image/png)
2025-03-31 11:14 PDT, xworld21
no flags
Screenshot at +3 zoom (6.04 KB, image/png)
2025-03-31 11:15 PDT, xworld21
no flags
Screenshot with no zoom (4.74 KB, image/png)
2025-03-31 11:15 PDT, xworld21
no flags
xworld21
Comment 1 2025-03-31 11:14:36 PDT
Created attachment 474775 [details] Screenshot at +1 zoom
xworld21
Comment 2 2025-03-31 11:14:50 PDT
Created attachment 474776 [details] Screenshot at +2 zoom
xworld21
Comment 3 2025-03-31 11:15:01 PDT
Created attachment 474777 [details] Screenshot at +3 zoom
xworld21
Comment 4 2025-03-31 11:15:13 PDT
Created attachment 474778 [details] Screenshot with no zoom
Radar WebKit Bug Importer
Comment 5 2025-04-07 11:15:25 PDT
Note You need to log in before you can comment on or make changes to this bug.