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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Wed, 01 Aug 2012 05:48:14 -0400
Message-ID: <5018FB5E.2070306@mit.edu>
To: www-style@w3.org
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 09:48:48 GMT

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