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

[SVGMobile12] intrinsic properties of an SVG graphic

From: Anne van Kesteren <annevk@opera.com>
Date: Sat, 08 Sep 2007 13:54:53 +0200
To: www-svg@w3.org
Message-ID: <op.tyb3dra264w2qv@annevk-t60.oslo.opera.com>

I was wondering how I'd get an SVG graphic with just an intrinsic aspect  
ratio or an SVG graphic with just an intrinsic width, etc. As I initially  
understood the SVG specification you always have a height and width as the  
attributes on the outermost <svg> element default to 100% but it has come  
to my attention that not everyone thinks these contribute to the intrinsic  
height and width (when they're a percentage).

Is there an exact algorithm in the SVG specification which, when you study  
it closely, gives you the intrinsic height, width and aspect ratio for any  
SVG subtree out there? (A standalone specification would suffice,  
actually.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>
Received on Saturday, 8 September 2007 11:55:08 GMT

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