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

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