RESOLVED FIXED 82489
SVG Inline content incorrectly sizes
https://bugs.webkit.org/show_bug.cgi?id=82489
Summary SVG Inline content incorrectly sizes
Stephen Chenney
Reported 2012-03-28 11:18:06 PDT
Created attachment 134346 [details] Repro case When svg is included inline with text in an html document with the width defined and a viewbox, it negotiates a 100% height. Other browsers set the height to preserve the given width and aspect ratio from the viewbox, as one would hope for.
Attachments
Repro case (321 bytes, text/html)
2012-03-28 11:18 PDT, Stephen Chenney
no flags
Nikolas Zimmermann
Comment 1 2012-03-29 00:22:21 PDT
As noted in the other bug report 82487, intrinsic sizing for inline SVG is just not implemented yet. Fortunately the framework for that is finished, it's just a matter of actually finishing it :-)
Zach Leatherman
Comment 2 2012-09-27 15:18:58 PDT
Just a note for future visitors, I had luck setting max-height: 100% on the inline svg element as a workaround.
Dirk Schulze
Comment 3 2014-05-13 08:09:43 PDT
Fixed as well.
Note You need to log in before you can comment on or make changes to this bug.