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

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

From: Julien Chaffraix <jchaffraix@google.com>
Date: Wed, 19 Jun 2013 09:16:30 -0700
Message-ID: <CAC7ek3Rf3WuW0kvON=8rpE2+4BtR=qK_eVkqTf5eXOxdrJGt5A@mail.gmail.com>
To: www-style@w3.org
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?

Thanks,
Julien

[1] http://dev.w3.org/csswg/css-grid/#line-placement
Received on Wednesday, 19 June 2013 16:17:19 UTC

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