Re: [css3-sizing] fill-available and floats

My point was to say it should react the same way as auto does on a DIV. If 
the way DIVs react to floats depends on other properties, fill-available 
should probably do the same, to reuse the existing algorithm.

If that's too complex or undesirable, I have no strong opinion on this 
however.



-----Message d'origine----- 
From: Boris Zbarsky
Sent: Wednesday, August 01, 2012 11:48 AM
To: www-style@w3.org
Subject: Re: [css3-sizing] fill-available and floats

On 8/1/12 3:27 AM, François REMY wrote:
> If I understand correctly, "fill-available" is just a way to specify on
> any element the automatic behavior of a DIV (i.e. width-unconstrained
> block element). If this is right, it should behave like a DIV and
> therefore react to the presence of floats next to it.

Like what kind of div?  These two:

   <div></div>

   <div style="overflow: auto"></div>

react differently to the presence of floats in terms of their width (or
more precisely, the latter reacts and the former does not).

-Boris

Received on Wednesday, 1 August 2012 10:10:41 UTC