W3C home > Mailing lists > Public > www-style@w3.org > April 2013

[css-images] Editorial: clarify the default sizing algorithm

From: Simon Sapin <simon.sapin@exyr.org>
Date: Wed, 03 Apr 2013 16:49:47 +0200
Message-ID: <515C418B.9010502@exyr.org>
To: www-style list <www-style@w3.org>
Hi,

As written in the current ED, the default sizing algorithm (5.3.1) 
contains:

> If the specified size has no constraints:
> 1. If the object has an intrinsic height or width, its size is
> resolved as if its intrinsic size were given as the specified size.
> 2. Otherwise, its size is resolved as a contain constraint against
> the default object size.

1 and 2 both invoke sub-algorithms, but fall into specific cases of 
these algorithms. I think the quoted text would be more clearly written as:

> If the specified size has no constraints, each dimension of the
> concrete object size is taken from the intrinsic dimensions if that
> intrinsic dimension is given, from the default object size
> otherwise.

-- 
Simon Sapin
Received on Wednesday, 3 April 2013 14:50:12 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:10 UTC