[Webkit-unassigned] [Bug 220903] New: SVG inside <img> does not scale contents with respect to screen width or height
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Jan 24 14:25:35 PST 2021
https://bugs.webkit.org/show_bug.cgi?id=220903
Bug ID: 220903
Summary: SVG inside <img> does not scale contents with respect
to screen width or height
Product: WebKit
Version: Safari 14
Hardware: All
OS: All
Status: NEW
Severity: Major
Priority: P2
Component: SVG
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jeffreyca16 at gmail.com
CC: zimmermann at kde.org
Codepen: https://codepen.io/JeffreyCA/pen/abmgBze
Open the above snippet on a Mac and then resize the Safari window width until it's less than the width of the SVG.
Observed:
Notice how the background/borders do scale properly, but the contents (text, images) are not scaled. They are instead truncated by the borders of the SVG.
Expected:
The entire SVG (including text, images, background/borders) should be scaled against the window width.
Other browsers:
Both Chrome and Firefox perform scaling as expected.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210124/10a5493a/attachment.htm>
More information about the webkit-unassigned
mailing list