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

Re: [css3-flexbox] computing "float" and "clear" on children of a flexbox

From: Daniel Holbert <dholbert@mozilla.com>
Date: Wed, 25 Jan 2012 14:28:25 -0800
Message-ID: <4F208209.5080209@mozilla.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org list" <www-style@w3.org>
On 01/25/2012 11:15 AM, Tab Atkins Jr. wrote:
> I've just now updated the spec, so that 'float' computes as normal,
> and changes the computed value of 'display' to block, but otherwise
> has no effect.  Please check that I've done it correctly!  I also
> added a line to Example 2 to illustrate this case.

Thanks!

I have one slightly-nitpicky question on the new text.  The spec now says:
 > A flexbox creates a new flexbox formatting context for its contents.
 > This is similar to a block formatting context
[...]
 > Additionally, all of the flexbox items establish new block formatting 
 > contexts for their contents.

I don't think those last two lines are strictly true.  In particular, 
suppose one of the flexbox items is itself a flexbox.  Then, per the 
first two quoted lines, it would establish a FFC for its contents -- 
*not* a BFC.  (though an FFC is "similar to a BFC")

Similarly, a <table> is a flexbox item, but I don't think it establishes 
a BFC for its contents, correct?  Its <td> elements do establish BFCs, 
but I don't think the <table> itself does.

(Actually, I just noticed "ISSUE 3: Figure out the right terms to use 
here" -- maybe the above is what this issue is about?)

~Daniel
Received on Wednesday, 25 January 2012 22:28:58 GMT

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