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

Re: [css-grid] auto-repeat inside grid-template shorthand

From: Manuel Rego Casasnovas <rego@igalia.com>
Date: Mon, 23 May 2016 23:36:37 +0200
To: www-style list <www-style@w3.org>
Message-ID: <574377E5.3080904@igalia.com>

On 23/05/16 19:18, Tab Atkins Jr. wrote:
> The whole point of that branch of the grid-template grammar is to make
> things line up ASCII-art-style.  Allowing repeat() in the column sizes
> violates that; columns either don't get a corresponding size in the
> track list, or line up badly.  Also, it's *really* nonsensical to
> allow repeat() in the row-sizing part of the grammar, and it's bad to
> be inconsistent and allow things in one spot but not the other.
> Allowing the auto-repeat things in either of those makes even *less*
> sense.
> If it's an implementation burden, we can allow it, but I'd prefer to disallow.

No, it's not an issue for us. We just wanted to be sure
what was the purpose of the syntax.

> (And we messed up - fixed-reps repeat() *shouldn't* be allowed in the
> column-sizing part; we just referred to <track-list> without paying
> enough attention.)

So I guess you need to update the spec and avoid using <track-list>
directly on this case.

Received on Monday, 23 May 2016 21:37:12 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:59 UTC