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

Re: HTML5 embedded SVG - height/width: auto

From: Andrei Bucur <abucur@adobe.com>
Date: Wed, 19 Jan 2011 12:59:20 +0000
To: "www-svg@w3.org" <www-svg@w3.org>
Message-ID: <C95CAC5B.5CD5%abucur@adobe.com>
Hello everyone,

The new approach makes this section pretty much obsolete:
http://dev.w3.org/SVG/profiles/1.1F2/publish/styling.html#UAStyleSheet
Having a SVG like this:
<svg style="width:100%;" viewBox="0 0 100 200">

</svg>

An implementor should compute a height of 2*width, not 100%, right? But if the CSS width is not specified, the dimensions should be 100%/100%?

Thanks for your support,
Andrei.
Received on Wednesday, 19 January 2011 12:59:54 GMT

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