[whatwg] Load SVG via IMG element

Vlad Alexander (xhtml.com) vlad.alexander at xhtml.com
Thu Oct 4 18:33:16 PDT 2007


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:

http://xhtml.com/misc/svg-img.htm

Can someone please point me to any specs on loading SVG via IMG element?

Regards,
-Vlad
http://xhtml.com





More information about the whatwg mailing list