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

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