W3C home > Mailing lists > Public > www-style@w3.org > July 2013

Re: [css-grid] grid-auto-flow packing

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 10 Jul 2013 17:10:44 -0700
Message-ID: <51DDF804.4030203@inkedblade.net>
To: www-style@w3.org
On 07/10/2013 03:57 PM, Henrik Andersson wrote:
> Tab Atkins Jr. skriver:
>> In the telcon today (which I unfortunately missed), it was decided to
>> go with sparse packing over dense packing.
>> Webkit/Blink currently implement dense packing.  (When Julien was
>> implementing it, it's how he read the algorithm.)  I'm fine with also
>> offering sparse packing, but if so, I'd like to do it as an option at
>> *this* level, not the next.
> grid-packing: sparse/dense;
> With sparse as the default.
> Seems simple enough.

I'd actually do it as an additional parameter to grid-auto-flow

grid-auto-flow: [ row | column ] && tight?

I expect we'll want a similar idea in Flexbox, where instead of
laying out at the flex-basis, you wrap based on the min-size.

Received on Thursday, 11 July 2013 00:11:13 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:32 UTC