W3C home > Mailing lists > Public > www-style@w3.org > November 2015

Re: [css-grid] A few questions on Grid gutters (grid-column-gap, grid-row-gap, and grid-gap properties)

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Wed, 4 Nov 2015 16:50:14 -0800
Message-ID: <CAAWBYDDCgTRe9J1GALq06ig2SYz7==+3jAKv_oK8UHu-OX0HVw@mail.gmail.com>
To: Mats Palmgren <mats@mozilla.com>
Cc: www-style list <www-style@w3.org>
On Sat, Oct 3, 2015 at 8:13 AM, Mats Palmgren <mats@mozilla.com> wrote:
> I'm about to implement Grid gutters in Gecko and I have a few questions
> on the spec text[1] (in quotes below):
> "Name: 'grid-row-gap', 'grid-column-gap'
>  Value: <length>"
> Are negative values allowed?
> (if not, please say so explicitly)

Specified that it's invalid.

> "Animatable: no"
> Why not? (it seems trivial to support for a <length> value)

We'd accidentally omitted it, so it got the default value. Fixed.

> "Name: 'grid-gap'
>   ...
>  Initial: normal"
> What does "normal" mean here?  Shouldn't this instead say
> "see individual properties" as usual for shorthands?
> I'd prefer that, because it simplifies the implementation
> to not have to support the "normal" keyword and I don't see
> what benefit it brings.

As Sergio said, it previously allowed "normal", because we were
reusing column-gap. Fixed by setting to 0.

Received on Thursday, 5 November 2015 00:51:02 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:54 UTC