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

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Mon, 29 Feb 2016 12:29:50 -0800
Message-ID: <CAAWBYDBnwj8UPY5Har7r3b1T-tcmLcPAo3efn_SKN7O9XQiL5Q@mail.gmail.com>
To: fantasai <fantasai.lists@inkedblade.net>
Cc: "www-style@w3.org" <www-style@w3.org>
On Sun, Feb 28, 2016 at 11:24 AM, fantasai
<fantasai.lists@inkedblade.net> wrote:
> I was just thinking about things like
>
>   grid: 1fr auto 300px / 1fr;
>
> It would make sense to me if that lone <track-size> were also copied
> into 'grid-auto-rows', so that as you add auto-placed rows, they have
> the same sizing function.

I don't think it's appropriate to overload it in this way.  Specifying
a single track does not semantically indicate that you intend to have
implicit tracks, nor that they should use the same sizing function.
Adding a second track should not break a grid that is relying on the
implicit tracks to be sized a certain way.

~TJ
Received on Monday, 29 February 2016 20:30:38 UTC

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