Skip to content

Commit 392930c

Browse files
committed
[css-grid] Simplify auto-repeat to single track size, per WG resolution. Leave issue open requesting feedback.
1 parent d1440a9 commit 392930c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

css-grid/Overview.bs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ Repeating Rows and Columns: the ''repeat()'' notation</h4>
11471147

11481148
<pre class='prod'>
11491149
<dfn><<track-repeat>></dfn> = repeat( <<positive-integer>>, [ <<line-names>>? <<track-size>> ]+ <<line-names>>? )
1150-
<dfn><<auto-repeat>></dfn> = repeat( [ auto-fill | auto-fit ], [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
1150+
<dfn><<auto-repeat>></dfn> = repeat( [ auto-fill | auto-fit ], <<line-names>>? <<fixed-size>> <<line-names>>? )
11511151
<dfn><<fixed-repeat>></dfn> = repeat( <<positive-integer>>, [ <<line-names>>? <<fixed-size>> ]+ <<line-names>>? )
11521152
<dfn><<name-repeat>></dfn> = repeat( [ <<positive-integer>> | auto-fill ], <<line-names>>+)
11531153
</pre>
@@ -1209,9 +1209,13 @@ Repeating Rows and Columns: the ''repeat()'' notation</h4>
12091209
except that after <a href="#auto-placement-algo">grid item placement</a>
12101210
any empty repetitions are dropped.
12111211

1212-
Issue: Now that we have gutters, most use cases for auto-repetition will need only one track size.
1213-
It would also be much simpler for implementations if only one track size were allowed.
1214-
Should we simplify the argument to the <<auto-repeat>> functions to only allow one <<fixed-size>>?
1212+
Issue: In order to simplify implementation and testing requirements for Level 1,
1213+
the <<auto-repeat>> syntax only accepts a single <<fixed-size>>.
1214+
Now that we have gutters, most use cases for auto-repetition will need only one track size.
1215+
However, if there are important use cases for having a full track listing,
1216+
the CSSWG is not opposed to expanding the syntax;
1217+
please send such use cases to www-style@w3.org
1218+
for consideration.
12151219

12161220
<!--
12171221
████████ ████████ ██ ██ ██ ██ ████ ████████

0 commit comments

Comments
 (0)