W3C home > Mailing lists > Public > www-style@w3.org > December 2015

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

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 1 Dec 2015 18:23:43 -0500
To: www-style@w3.org
Message-ID: <565E2BFF.7010406@mit.edu>
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?

-Boris
Received on Tuesday, 1 December 2015 23:24:13 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:55 UTC