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

On Wed, Feb 19, 2014 at 12:29 PM, Javier Fernandez
<jfernandez@igalia.com> wrote:
> On 02/19/2014 08:00 PM, Sergio Villar Senin wrote:
>> Tab said:
>>> 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.

All right, I've added a note.  This is a somewhat exceptional
shorthand, since most shorthands let you specify *all* of the affected
longhands at once.

~TJ

Received on Tuesday, 4 March 2014 21:30:36 UTC