W3C home > Mailing lists > Public > www-style@w3.org > April 2014

Re: [css-flexbox] Point of "Recalculate free space" step in loop?

From: Daniel Holbert <dholbert@mozilla.com>
Date: Thu, 10 Apr 2014 12:17:30 -0700
Message-ID: <5346EE4A.2040405@mozilla.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
CC: www-style <www-style@w3.org>
On 04/10/2014 12:11 PM, Tab Atkins Jr. wrote:
> Ah, yes, you're right.  The point of recalculating is that frozen
> items now have a different size than they had before.  Try this out:
> 
> # Sum the sizes of all items on the line:
> # for frozen items (initially none, see later in this algorithm for
> how items are frozen),
> # use their outer main size;
> # for all other items,
> # both flexible and inflexible,
> # use their outer <a>flex base size</a>.
> # Subtract this sum from the flex container's inner main size.
> # This is the free space.

Thanks -- I think that makes sense.

~Daniel
Received on Thursday, 10 April 2014 19:17:57 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:21 UTC