W3C home > Mailing lists > Public > www-svg@w3.org > September 2011

Re: SVG in HTML5: Browser differences, bug in IE9?

From: Dirk Schulze <vbs85@gmx.de>
Date: Sat, 24 Sep 2011 18:33:48 +0200
Cc: "'www-svg'" <www-svg@w3.org>
Message-Id: <C09DE092-49CF-48BE-A036-8F1F28D640E6@gmx.de>
To: David Dailey <ddailey@zoominternet.net>

Am 24.09.2011 um 16:35 schrieb David Dailey:

> 2.       The fact that the SVG itself has its height unspecified but that a rectangle within it has height=100% is interpreted differently by Chrome which allows the rectangle to fill the rest of the HTML document. IE and FF provide some default limit on the height of the SVG.

For 2 I'd like to point you to bug https://bugzilla.mozilla.org/show_bug.cgi?id=686214 (some more references inside the bug). I agree to Daniel Holbert that the behavior of Safari and Chrome is wrong. No viewport size was defined, so FF uses the default values (300x150 IIRC). You can avoid that by setting the CSS properties 'width' and 'height' to '100%' and the SVG will be scaled to full size. We will fix that in WebKit at some point.

Dirk
Received on Saturday, 24 September 2011 16:34:29 GMT

This archive was generated by hypermail 2.3.1 : Friday, 8 March 2013 15:54:49 GMT