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

Re: [css-grid] is the "grid" shorthand syntax right ?

From: Javier Fernandez <jfernandez@igalia.com>
Date: Wed, 19 Feb 2014 21:29:53 +0100
Message-ID: <53051441.2040708@igalia.com>
To: www-style@w3.org

On 02/19/2014 08:00 PM, Sergio Villar Senin wrote:
>> It sets all of them.  You can only provide values for either the
>> explicit *or* the implicit, though.
> Maybe then we could rephrase it in something more explicit like
> (underlining the changes):
> "The grid property is a shorthand that _either_ sets all of the explicit
> grid properties (grid-template-rows, grid-template-columns, and
>  grid-template-areas) _or_ all the implicit grid properties
>  (grid-auto-rows, grid-auto-columns, and grid-auto-flow) in a single
>  declaration."

I think I've understood now what "sets all of them" means, in the sense
that it sets the default values when not assigning any value. But I
think it's confusing, as sergio said.

Received on Wednesday, 19 February 2014 20:30:34 UTC

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