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

[css-grid] Automatic position and span for named grid line

From: Manuel Rego Casasnovas <rego@igalia.com>
Date: Thu, 05 Jun 2014 13:23:13 +0200
Message-ID: <53905321.6040507@igalia.com>
To: www-style@w3.org
Hi,

reviewing the spec I've found the following sentence in
http://dev.w3.org/csswg/css-grid/#grid-placement-errors:
"If the grid item has an automatic position and a grid span for a named
line in a given dimension, instead treat the grid span as one."

If I understood it correctly, that means that something like this:
  grid-row: auto;
  grid-column: span namedgridline;

Will become:
  grid-row: auto;
  grid-column: span 1;

I'd like to confirm that this is the expected behaviour and the
rationale behind it.

BTW, current implementation in Blink allows to use a named grid line in
that case.

Thanks,
  Rego
Received on Thursday, 5 June 2014 11:23:53 UTC

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