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

On Mar 13, 2012, at 6:25 PM, fantasai <> 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