W3C home > Mailing lists > Public > www-style@w3.org > June 2008

Re: Publishing the flexible box model

From: Alan Gresley <alan@css-class.com>
Date: Thu, 05 Jun 2008 17:34:39 +1000
Message-ID: <4847970F.6090104@css-class.com>
To: Alan Gresley <alan@css-class.com>, www-style@w3.org, dbaron@dbaron.org

L. David Baron wrote:

>> This leads back to the issues concerning block formatting context in  
>> this thread.
>>
>>
>> http://lists.w3.org/Archives/Public/www-style/2008May/0224.html
> 
> This issue doesn't seem related.
> 
> -David


I see it related since a 'flexible box model' uses a shrink-to-fit
algorithm just like a 'float'. The 'flexible box model' has defined
behavior with overflow values of 'auto' and 'hidden' where the issue
concerning the 'block formatting context' is undefined behavior. How
would both layout models work together in a layout?


<body>
   <div style="float:left">Sidebar</div>
   <div style="display:box">
     <div style="overflow:auto">Overflow Content</div>
     <div>Normal Content</div>
   </div>
</body>


How does the overflow div react in the presence of the float?


Alan
Received on Thursday, 5 June 2008 07:35:38 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:55:07 GMT