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

> 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