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

RE: [css3-flexbox] "definite" sizes?

From: Alex Mogilevsky <alexmog@microsoft.com>
Date: Mon, 12 Mar 2012 04:07:57 +0000
To: Daniel Holbert <dholbert@mozilla.com>, Tab Atkins Jr. <jackalmage@gmail.com>
CC: www-style list <www-style@w3.org>
Message-ID: <D51C9E849DDD0D4EA38C2E5398569284139C21E9@TK5EX14MBXC262.redmond.corp.microsoft.com>
> From: Daniel Holbert [mailto:dholbert@mozilla.com]
> Sent: Sunday, March 11, 2012 8:22 PM
> On 03/11/2012 07:26 PM, Tab Atkins Jr. wrote:
> > Counter-examples are 'auto' and percentages.
> Well -- percentages **with a fixed ("definite"? :)) size to resolve
> against** would be definite, right?
> If we've got a width:25% flexbox item inside of a width:400px horizontal
> flexbox, then I'd say that flexbox item has a "definite size", and we'd want to
> treat it as such when applying the flexbox layout algorithm.

Right, being auto or percentage is not enough to be "not definite". If auto is resolved by parent layout, it is definite (as in my example of nested flexboxes, or in the most common case of auto width in normal flow).

"Lengths that don't need layout to resolve" is almost right. "Lengths that are resolved before layout of the element they belong to" is what I think it is.
Received on Monday, 12 March 2012 04:08:43 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:13 UTC