Skip to content

Commit e02845d

Browse files
committed
[css-grid] Clarify what to do when even one repetition overflows.
1 parent e66f740 commit e02845d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

css-grid/Overview.bs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1228,7 +1228,9 @@ Repeating Rows and Columns: the ''repeat()'' notation</h4>
12281228
that does not cause the <a>grid</a> to overflow its <a>grid container</a>
12291229
(treating each track as its <a>max track sizing function</a> if that is <a>definite</a>
12301230
or as its minimum track sizing function otherwise,
1231-
and taking 'grid-gap' into account).
1231+
and taking 'grid-gap' into account);
1232+
if any number of repetitions would overflow,
1233+
then 1 repetition.
12321234
Otherwise, if the <a>grid container</a> has a <a>definite</a> min size in the relevant axis,
12331235
the number of repetitions is the smallest possible positive integer that fulfills that minimum requirement.
12341236
Otherwise, the specified <a>track list</a> repeats only once.

0 commit comments

Comments
 (0)