Re: [css-sizing][css-flexbox] intrinsic min/max-width/height values and percentage children

On Tue, Dec 1, 2015 at 3:23 PM, Boris Zbarsky <bzbarsky@mit.edu> wrote:
> On 12/1/15 4:38 PM, Tab Atkins Jr. wrote:
>> Assuming you either (a) don't use percentages in the children, or (b)
>> don't violate the min-width/height constraint, no additional work is
>> done.  It's only when you have a % child *and* violate
>> min-width/height that you have do to a second layout pass, because the
>> % children will change size.
>
> In general, pretty much anything that requires a second layout pass, even in
> rare circumstances, is a bad idea, because it means that nesting leads to
> exponential time growth, no?

Yes, but apparently this is okay with implementors, since this is what
they're asking for.

~TJ

Received on Wednesday, 2 December 2015 00:14:27 UTC