Skip to content

Commit f34c676

Browse files
committed
[css-grid] Fill in missing detail on how auto-fill works for line-name-lists.
1 parent ffa7aa6 commit f34c676

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

css-grid/Overview.bs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,9 @@ Repeating Rows and Columns: the ''repeat()'' notation</h4>
11821182
but the same <a>track list</a> can also contain <<fixed-repeat>>s.
11831183
* The <<name-repeat>> variant can be used with the ''grid-template-rows/subgrid'' keyword:
11841184
it only repeats names.
1185+
The ''auto-fill'' keyword is only valid once per <<line-name-list>>,
1186+
and repeats enough times for the name list to match the subgrid’s specified <a>grid span</a>
1187+
(defaulting to 0 if that is ''auto'' or if the span is already fulfilled).
11851188

11861189
<div class='example'>
11871190
This example shows two equivalent ways of writing the same grid definition.
@@ -1424,6 +1427,8 @@ Subgrids: the ''grid-template-rows/subgrid'' keyword</h4>
14241427
it also automatically receives the line names specified for its parent <a>grid</a>.
14251428
(In such cases the author can rely on the names specified in the parent grid,
14261429
and does not need to duplicate those names in each subgrid declaration.)
1430+
1431+
Issue: People should review how subgrid line names are assigned, to ensure it is sane and useful.
14271432
</ul>
14281433

14291434
<!--

0 commit comments

Comments
 (0)