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: Wed, 21 Mar 2012 11:56:36 +0100
To: www-style@w3.org
Message-ID: <op.wbioomvebunlto@oyvinds-desktop>
On Wed, 21 Mar 2012 10:09:51 +0100, fantasai  
<fantasai.lists@inkedblade.net> wrote:

> | 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 default object size is used,  
> as
> | determined by minimizing the area in a "contain" fit of the default  
> object
> | size; between equivalently-mismatched images, the wider image is  
> chosen.

Interpreting the "as determined by [...]" clause takes some effort, I  
think it would be better if the procedure is spelled out in more detail.  
And shouldn't it be *maximizing* the area, or have I still not decrypted  
it correctly?

-- 
Øyvind Stenhaug
Core Norway, Opera Software ASA
Received on Wednesday, 21 March 2012 10:57:11 GMT

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