Re: HTML5 embedded SVG - height/width: auto

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 UTC