W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css3-images] Comments on object sizing terminology

From: Øyvind Stenhaug <oyvinds@opera.com>
Date: Thu, 22 Mar 2012 15:26:34 +0100
To: www-style@w3.org
Message-ID: <op.wbks2ko2bunlto@oyvinds-desktop>
On Wed, 21 Mar 2012 22:13:00 +0100, Tab Atkins Jr. <jackalmage@gmail.com>  
wrote:

> Does this help?
>
> # If an object (such as an icon) has multiple sizes, then the largest
> size (by area) is taken as its intrinsic size. If it has multiple
> aspect ratios at that size, or has multiple aspect ratios and no size,
> then the aspect ratio closest to the aspect ratio of the <i>default
> object size</i>is used.  Determine this by seeing which aspect ratio
> produces the largest area when fitting it within the <i>default object
> size</i> using a <i>contain</i> fit; if multiple sizes tie for the
> largest area, the wider size is chosen as its intrinsic size.

Yes, that's clearer. It should probably also link to a definition for  
"contain".

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Thursday, 22 March 2012 14:27:07 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT