My understanding is that SVG should not be scaled to fit given dimensions because scaling information is provided in the SVG itself. I don't know about the full status of SVG in browsers, but I know that Firefox supports some, and the Adobe plug-in is common. A full test suite is available at
<br><a href="http://www.w3.org/Graphics/SVG/Test/">http://www.w3.org/Graphics/SVG/Test/</a><br>A specification for embedding SVG in XHTML can be found at<br><a href="http://www.w3.org/TR/XHTMLplusMathMLplusSVG/">http://www.w3.org/TR/XHTMLplusMathMLplusSVG/
</a><br>and Mozilla provides some documentation at<br><a href="http://developer.mozilla.org/en/docs/SVG_In_HTML_Introduction">http://developer.mozilla.org/en/docs/SVG_In_HTML_Introduction</a><br><br><div><span class="gmail_quote">
On 10/4/07, <b class="gmail_sendername">Vlad Alexander (<a href="http://xhtml.com">xhtml.com</a>)</b> <<a href="mailto:vlad.alexander@xhtml.com">vlad.alexander@xhtml.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I noticed that Opera 9.5 can load an SVG image via the IMG element. I think this is a wonderful thing. Is there any specification on how this should work? For example, I noticed that Opera, for some reason, does not scale SVG images to fit the box created by the IMG element's width and height attributes. Here is a test page:
<br><br><a href="http://xhtml.com/misc/svg-img.htm">http://xhtml.com/misc/svg-img.htm</a><br><br>Can someone please point me to any specs on loading SVG via IMG element?<br><br>Regards,<br>-Vlad<br><a href="http://xhtml.com">
http://xhtml.com</a><br><br><br></blockquote></div><br><br clear="all"><br>-- <br>-------------------------------------------<br>Daniel Brumbaugh Keeney<br>Devi Web Development<br><a href="mailto:Devi.WebMaster@gMail.com">
Devi.WebMaster@gMail.com</a><br>-------------------------------------------