W3C home > Mailing lists > Public > www-style@w3.org > January 2015

Re: [css-grid] Updates and Issues

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Tue, 13 Jan 2015 13:06:48 -0800
Message-ID: <CAAWBYDBNxDxF612KC43b_0xuLunq9ML4pRJjyUAJGPxHtQmU2Q@mail.gmail.com>
To: Sergio Villar Senin <svillar@igalia.com>
Cc: www-style list <www-style@w3.org>
On Tue, Jan 13, 2015 at 6:47 AM, Sergio Villar Senin <svillar@igalia.com> wrote:
> On 12/01/15 21:49, fantasai wrote:
>> Repeat-to-fill
>>   http://lists.w3.org/Archives/Public/www-style/2014Oct/0108.html
>>   A very common grid-based layout (used for e.g. online catalogs,
>>   photo albums, article summaries, etc) is to have as many columns
>>   as there is space. Right now the grid spec only allows fixed
>>   repetitions; we propose to add a repeat-to-fill function, which
>>   basically does multi-col arithmetic against the grid container's
>>   size.
>>   DISCUSS: Adding repeat(auto, <track-list>)?
> I'm a bit skeptic about this, mainly because I see many potential issues
> with content-sized tracks and flex tracks. The whole track sizing
> algorithm is full of stuff to allow tracks to grow to their limits and
> even beyond with special cases for definite/indefinite sizes. Having
> something like that will likely complicate the algorithm a lot. Apart
> from that how do you see it working with flex tracks for example, will
> we disallow them to grow to create more tracks (then they won't actually
> work as flex tracks)?

Check the actual spec text - repeat(auto) requires the track-list to
contain only length/percentage, none of the other <track-size> values
are allowed.  This is precisely to avoid the confusion that you're
talking about. ^_^

Received on Tuesday, 13 January 2015 21:07:35 UTC

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