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

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

From: François REMY <fremycompany_pub@yahoo.fr>
Date: Wed, 1 Aug 2012 12:10:17 +0200
Message-ID: <7226CF8D2E844C5C8F3B7FA5F887C55B@FREMYD2>
To: "Boris Zbarsky" <bzbarsky@MIT.EDU>, <www-style@w3.org>
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 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:58 GMT