RESOLVED WORKSFORME97010
Bad output when sizing an SVG with auto height
https://bugs.webkit.org/show_bug.cgi?id=97010
Summary Bad output when sizing an SVG with auto height
Gustavo Noronha (kov)
Reported 2012-09-18 06:20:11 PDT
Created attachment 164543 [details] sample SVG, but it should be the same with any SVG I imagine If I add the attached image to the page with the following tag, it scales poorly: <img style="width: 1000px; height: auto;" src="avatar-default-symbolic.svg"/> The same problem does not happen when using the same tag, but with an explicit height: <img style="width: 1000px; height: 1000px;" src="avatar-default-symbolic.svg"/>
Attachments
sample SVG, but it should be the same with any SVG I imagine (3.40 KB, image/svg+xml)
2012-09-18 06:20 PDT, Gustavo Noronha (kov)
no flags
Gustavo Noronha (kov)
Comment 1 2012-09-18 06:21:17 PDT
Additional info: testing with the GTK+ port, firefox and chromium seem to work OK.
Dirk Schulze
Comment 2 2014-05-12 07:31:39 PDT
We changed the behavior recently and it should work as expected now.
Note You need to log in before you can comment on or make changes to this bug.