W3C home > Mailing lists > Public > www-style@w3.org > April 2016

[css-grid] A few comments

From: Christian Biesinger <cbiesinger@google.com>
Date: Thu, 21 Apr 2016 10:51:25 -0400
Message-ID: <CAPTJ0XHV2osgY=vKr+SUoxDeGJbD6HXo=fQ_gH8n7=gDZ0w-jQ@mail.gmail.com>
To: www-style list <www-style@w3.org>
Hi there!

I've done a read through the entire grid spec now, and would like to
offer some feedback:

1) There's a few places where named grid areas are used, and it comes
in three different flavors -- it can be part of a string
(grid-template-areas), it can be quoted using square brackets
(grid-template-{columns,rows}) or can be unquoted (grid-area, grid-row
and others).

I was wondering if it would be easier for authors if they shared a
more common format? E.g. always require quoting in [brackets],
including the grid-template-areas ("[foo] [foo]")?

2) 10.1.3 in the last example
(https://drafts.csswg.org/css-grid/#common-uses-named-lines):
As this example comes before the normative definition of how the spans
are resolved, maybe it would be helpful if the comment elaborated a
little bit further on how the "span text 2" line is selected. E.g.:
"Look forward from the start and take the second line named text"

3) 12.5 (https://drafts.csswg.org/css-grid/#grid-align): Why are these
properties (justify-content, align-content) fully defined here,
instead of referring to css-align like the previous two sections do,
for justify-{self,items} and align-{self, items}?

Thanks,
-Christian
Received on Thursday, 21 April 2016 14:52:14 UTC

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