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 11:02:55 -0800
Message-ID: <4F2051DF.1030602@mozilla.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: "www-style@w3.org list" <www-style@w3.org>
Yup, understood.

(I was just using replaced elements for my example, since their computed 
value for "display" matches that of <span> by default, and that makes it 
tricky to determine "is this a flexbox item" from inside in the style 
system.) (not an issue anymore given your/Alex's suggested spec-update)

On 01/25/2012 10:52 AM, Tab Atkins Jr. wrote:
> On Tue, Jan 24, 2012 at 6:34 PM, Daniel Holbert<dholbert@mozilla.com>  wrote:
>> This is because the definition of
>> "flexbox item" involves more than the style tree -- it depends on whether
>> the target element is "atomic" (e.g. a replaced element).
>
> Note that while replaced inlines are "atomic inlines", they're not the
> only thing that matches the term.  Any element that participates in
> inline layout but doesn't let its children do so is an atomic inline,
> such as inline-block elements.
>
> ~TJ
>
Received on Wednesday, 25 January 2012 19:03:24 GMT

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