David, have you tried setting the height of the 'body' and 'html' elements
to 100% as well?

 

I believe what you are seeing is correct CSS 2.1 behavior, and is a place
where Webkit is in the wrong. You should see the same behavior if you set a
'div', 'iframe', etc. to 100% height so this isn't specific to SVG. You are
right in assuming that if you set a width/height on the 'object' - and that
height can be resolved - that it should override the aspect ratio computed
from the viewBox in the SVG content.

 

Note: In various browser's Quirks Mode you will see the same behavior as
Webkit, but IE9 only supports SVG in IE9+ document mode so you don't want to
do that.

 

- Tony

 



[Non-text portions of this message have been removed]



------------------------------------

-----
To unsubscribe send a message to: [email protected]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
----Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

Reply via email to