W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css3-grid-layout] mismatched grid template strings

From: Brad Kemper <brad.kemper@gmail.com>
Date: Thu, 15 Mar 2012 18:51:30 -0700
Message-Id: <2517218A-EA58-40B7-B6A0-BE1353736F3F@gmail.com>
Cc: "www-style@w3.org" <www-style@w3.org>
To: fantasai <fantasai.lists@inkedblade.net>
On Mar 13, 2012, at 6:25 PM, fantasai <fantasai.lists@inkedblade.net> wrote:

> Lea Verou pointed out a problem in the Grid Layout spec: it doesn't
> specify what happens if the template strings are not all the same
> length, e.g.
>  grid-template: "aa"
>                 "b"
>                 "bg";
> Possible options are to treat this as invalid; or to fill the missing
> slots with "." (the Template module's unnamed placeholder).

Another option would be to repeat the letter into a missing slot. I like this idea. So, a person could write this:

grid-template: "a"

And it would automatically expand to this:

grid-template: "aa"
Received on Friday, 16 March 2012 01:52:08 UTC

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