W3C home > Mailing lists > Public > www-style@w3.org > June 2013

Re: [css3-grid-layout] Clarification on ' span' named grid line

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 19 Jun 2013 14:01:41 -0700
Message-ID: <CAAWBYDB+cx-jApmJQfYM7toWnXxy3rQSDEpeoXPaLsXJMP4n-w@mail.gmail.com>
To: Julien Chaffraix <jchaffraix@google.com>
Cc: www-style list <www-style@w3.org>
On Wed, Jun 19, 2013 at 9:16 AM, Julien Chaffraix <jchaffraix@google.com> wrote:
> Hi everyone,
>
> I couldn't find a good answer to the following case in [1]: What
> happens if there is no named grid line with the given name for the
> 'span' case? (for example, grid-row: span 2 'nonexistent' / 5)
>
> The specification defines what to do for the non-spanning case (ie
> grid-row: 'nonexistent' / 5). It's unclear that it is supposed to
> extend to the 'span' case (both examples would be equivalent to 1 /
> 5).
>
> An alternative way to treat this is to make it an error and compute
> the line placement to 'auto' or 'span 1'.
>
> Any thoughts?

Hmm, good catch.  I think we should compute it to "auto".

~TJ
Received on Wednesday, 19 June 2013 21:02:28 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:12 UTC