Skip to content

Commit 4ef900c

Browse files
committed
[css-grid] Allow grid-auto-rows/cols to take multiple track listings per WG resolution
1 parent 298242b commit 4ef900c

1 file changed

Lines changed: 8 additions & 1 deletion

File tree

css-grid/Overview.bs

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1927,7 +1927,7 @@ Implicit Track Sizing: the 'grid-auto-rows' and 'grid-auto-columns' properties</
19271927

19281928
<pre class='propdef'>
19291929
Name: grid-auto-columns, grid-auto-rows
1930-
Value: <<track-size>>
1930+
Value: <<track-size>>+
19311931
Initial: auto
19321932
Applies to: <a>grid containers</a>
19331933
Inherited: no
@@ -1943,6 +1943,13 @@ Implicit Track Sizing: the 'grid-auto-rows' and 'grid-auto-columns' properties</
19431943
or by the <a>auto-placement algorithm</a> creating additional rows or columns.
19441944
The 'grid-auto-columns' and 'grid-auto-rows' properties specify the size of such implicitly-created tracks.
19451945

1946+
If multiple track sizes are given, the pattern is repeated as necessary
1947+
to find the size of the implicit tracks.
1948+
The first <a>implicit grid track</a> before the <a>explicit grid</a>
1949+
receives the first specified size, and so on forwards;
1950+
and the last <a>implicit grid track</a> before the <a>explicit grid</a>
1951+
receives the last specified size, and so on backwards.
1952+
19461953
<div class="example">
19471954
<pre>
19481955
&lt;style>

0 commit comments

Comments
 (0)