Skip to content

Commit 2e57e1e

Browse files
committed
[css-grid-1] Define interpolation of repeat() functions. w3c#3503
1 parent d9eb929 commit 2e57e1e

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

css-grid-1/Overview.bs

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1374,7 +1374,7 @@ Explicit Track Sizing: the 'grid-template-rows' and 'grid-template-columns' prop
13741374
Inherited: no
13751375
Percentages: refer to corresponding dimension of the content area
13761376
Computed value: the keyword ''grid-template-columns/none'' or a [=computed track list=]
1377-
Animation type: if the list lengths match, by computed value type per item in the [=computed track list=]; discrete otherwise
1377+
Animation type: if the list lengths match, by computed value type per item in the [=computed track list=] (see [[#computed-tracks]] and [[#repeat-interpolation]]); discrete otherwise
13781378
</pre>
13791379

13801380
These properties specify,
@@ -1716,6 +1716,18 @@ Repeat-to-fill: ''auto-fill'' and ''auto-fit'' repetitions</h5>
17161716
to avoid division by zero.
17171717
It is suggested that this floor be ''1px''.
17181718

1719+
<h5 id="repeat-interpolation">
1720+
Interpolation of ''repeat()''</h5>
1721+
1722+
If two ''repeat()'' notations that
1723+
have the same first argument (repetition count)
1724+
and the same number of tracks in their second argument (the track listing),
1725+
they are interpolated by
1726+
interpolating each component of their <a>computed track lists</a>
1727+
<a>by computed value</a>
1728+
(just like interpolating a top-level track list).
1729+
They otherwise interpolate as <a>discrete</a>.
1730+
17191731
<!--
17201732
████████ ████████ ██ ██ ██ ██ ████ ████████
17211733
██ ██ ██ ██ ██ ███ ██ ██ ██

0 commit comments

Comments
 (0)