W3C home > Mailing lists > Public > www-style@w3.org > February 2016

Re: [css-grid] grid shorthand and grid-auto-rows/cols

From: fantasai <fantasai.lists@inkedblade.net>
Date: Sun, 28 Feb 2016 18:27:55 -0500
To: Fran├žois REMY <francois.remy.dev@outlook.com>, www-style@w3.org
Message-ID: <56D3827B.7040603@inkedblade.net>
On 02/28/2016 04:08 PM, Fran├žois REMY wrote:
> That looks a bit too magic to me.

It's fairly standard shorthanding. The 'grid' property already controls
both 'grid-template-rows' and 'grid-auto-rows'.

> What if we just specified that when the last item of a "grid-template-<track>"
> list is "repeat(auto-fit, ...)" containing one track it also sets
> "grid-auto-<track>s" to that track size?

That's way more magical!

~fantasai
Received on Sunday, 28 February 2016 23:28:23 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:00 UTC