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

[css-grid] Grid Layout Algorithm Rewritten!

From: fantasai <fantasai.lists@inkedblade.net>
Date: Fri, 18 Apr 2014 10:16:38 -0700
Message-ID: <53515DF6.9000403@inkedblade.net>
To: "www-style@w3.org" <www-style@w3.org>, Phil Cupp <pcupp@microsoft.com>, Peter Salas <psalas@microsoft.com>, Rossen Atanassov <Rossen.Atanassov@microsoft.com>
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

Here's a direct link to the new algorithm:
Here's Tab's "translation" of the old algorithm:
Here's the old 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:

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.

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

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