Re: browser stretching SVG IMG
- Erik Dahlstrom schrieb am 21.11.2011 10:51:
> On Sun, 20 Nov 2011 18:24:40 +0100, Kenneth Nellis<nellisks@...>IE9 renders the page in quirksmode, so the result is wrong. changing the
>> I was surprised to see such disparate browser behavior in rendering an
>> external SVG image within an HTML web page using the IMG tag, Despite
>> the image specifying preservation of aspect ratio, on the Macintosh
>> (Snow Leopard) platform, Safari and Chrome stretch the image according
>> to the size of the browser page! (WTF?) Firefox and Opera don't stretch
>> it at all, which certainly is correct behavior. (Camino doesn't render
>> it at all.) Clearly, advice is not to use IMG for SVG as all browsers
>> tested support IFRAME, OBJECT, and EMBED just fine.
>> This page demonstrates the issue:
> FWIW it looks ok in Chrome 17.0.945.0, so it might have been fixed.
> Did you test in IE9 and up too?
page to standard mode, all is right.
results in quirksmode:
iframe is all white (no circle)
object is white background, correct circle
embed and img is missing