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

[css3-flexbox] Updates to Resolving Flexible Sizes

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 24 Apr 2012 18:26:03 -0700
Message-ID: <4F9752AB.6000301@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>
Tab and I have been working through the flexbox algorithm this week.
We're not quite done double-checking our work on the main algorithm,
but the Resolving Flexible Sizes section has gotten an editorial
overhaul, and we've fixed some errors in it as well. I'm writing this
email to ask Alex, dholbert, Ojan, and anyone else interested for a


The changes were primarily editorial, except for the the last step:

   1. Fixed error in freezing of violations: min and max had been swapped.

   2. Clarified which items are reset and which remain frozen.
      Right now if you hit the 'zero' clause, freezing is cumulative
      across iterations; for 'positive' only min violations are frozen,
      and for 'negative' only max violations are frozen.

   3. The zero clause only exits if the free space is also zero.
      Previously you could exit with undistributed free space.

   4. Loop begins with determining the sign of the flexibility again.
      This is necessary if freezing violations flips the sign of the
      free space.

I'm a little unsure on #2, but the others definitely fix certain
cases that don't otherwise make sense.

Received on Wednesday, 25 April 2012 01:32:31 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:58 UTC