W3C home > Mailing lists > Public > public-cdf@w3.org > September 2007

Re: 300x150 px defaults too aggressive

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 18 Sep 2007 10:32:51 -0400
Message-ID: <46EFE193.3010501@inkedblade.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Jonathan Watt <jwatt@jwatt.org>, Bjoern Hoehrmann <derhoermi@gmx.net>, www-svg@w3.org, www-style@w3.org, public-cdf@w3.org

Boris Zbarsky wrote:
> 
> Jonathan Watt wrote:
>> If we were to change the 'height' attribute in my example to have a 
>> percentage value then whether 150px or the percentage value is used 
>> would depend on whether the SVG spec says percentage values are 
>> intrinsic or not.
> 
> Actually, if "height" had a percentage value, wouldn't the replaced 
> element have an intrinsic ratio (the ratio of the two percentages)?  Or 
> are they not used that way?

No, percentages can't define ratios. :) Consider, for example, a 100% by
100% image being rendered inside a 2:1 rectangle vs a 1:1 rectangle.

~fantasai
Received on Tuesday, 18 September 2007 14:33:15 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 8 January 2008 14:10:41 GMT