[css-grid] Grid Layout Algorithm Rewritten!

Hi everyone!
Tab and I just finished rewriting the Grid Layout algorithm
to be easier to read and understand. Note: our goal was to
not actually change anything. But we think it's much better
now, and would appreciate review, especially from the MSFT
people.

Here's a direct link to the new algorithm:
   http://dev.w3.org/csswg/css-grid/#layout-algorithm
Here's Tab's "translation" of the old algorithm:
   http://dev.w3.org/csswg/css-grid/#translated-algo
Here's the old algorithm:
   http://www.w3.org/TR/2014/WD-css-grid-1-20140123/#layout-algorithm

We did make one change, which is to better handle sizing
under a min-content constraint. That's called out as an
issue in this section:
   http://dev.w3.org/csswg/css-grid/#algo-init

We'll probably want to publish an updated WD soonish, but
want to make sure people have whatever time they need to
look it all over before we ask for publication.

~fantasai

Received on Friday, 18 April 2014 17:17:06 UTC