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

[css-grid] nits on 5.1.2. Repeating Rows and Columns: the repeat() notation

From: Mats Palmgren <mats@mozilla.com>
Date: Wed, 2 Dec 2015 20:11:49 +0100
To: www-style@w3.org
Message-ID: <565F4275.9030205@mozilla.com>
https://drafts.csswg.org/css-grid/#repeat-notation

Typo (under the first bullet): "repeatition"

Also, the "fixed" at the end of the sentence is a bit confusing:
"..., but is limited to fixed repetitions."
I think you mean "but is limited to a fixed number of repetitions".
That is, "fixed" is meant to explain that the first argument to
repeat() is a fixed <positive-integer>, right?
But in this section there is also a <fixed-repeat> and
<fixed-size> so I think it would be good to spell it out,
or rephrase it, to avoid any confusion.

Under the second bullet, describing "<auto-repeat>", it says:
"... but requires definite minimum track sizes ..."
This seems to contradict what is later said for "auto-fill":
https://drafts.csswg.org/css-grid/#valdef-repeat-auto-fill
"treating each track as its max track sizing function if that
is definite or as its minimum track sizing function otherwise"

Under the third bullet, describing "<name-repeat>", it says:
"The <name-repeat> variant can be used with the 'subgrid' keyword"
I think with the word "only", like so:
"The <name-repeat> variant can only be used with the 'subgrid' keyword"
it would be clearer where it can, and where it cannot, be used.


Thanks,
Mats
Received on Wednesday, 2 December 2015 19:12:19 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:58 UTC