You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Repeating Rows and Columns: the <aclass=cssdata-link-type=maybehref=#funcdef-repeattitle=repeat()>repeat()</a> notation</span><aclass=self-linkhref=#repeat-notation></a></h4>
1046
1046
1047
-
<p>
1048
-
The <aclass=cssdata-link-type=maybehref=#funcdef-repeattitle=repeat()>repeat()</a> notation represents a repeated fragment of the <adata-link-type=dfnhref=#track-listtitle="track list">track list</a>.
1049
-
This is just a syntactic shorthand that allows writing a large number of columns or rows that exhibit a recurring pattern in a more compact form.
1050
-
The syntax of the <aclass=cssdata-link-type=maybehref=#funcdef-repeattitle=repeat()>repeat()</a> notation is:
1047
+
<p> The <aclass=cssdata-link-type=maybehref=#funcdef-repeattitle=repeat()>repeat()</a> notation represents a repeated fragment of the <adata-link-type=dfnhref=#track-listtitle="track list">track list</a>.
1048
+
This is just a syntactic shorthand that allows writing a large number of columns or rows that exhibit a recurring pattern in a more compact form.
1049
+
The syntax of the <aclass=cssdata-link-type=maybehref=#funcdef-repeattitle=repeat()>repeat()</a> notation is:
<p> The <aclass=cssdata-link-type=maybehref=#funcdef-repeattitle=repeat()>repeat()</a> function does not literally repeat its arguments, textually, into the value.
1083
+
(If it did so, it would sometimes produce invalid values,
1084
+
such as <spanclass=cssdata-link-type=maybetitle="repeat(2, (a) 1fr (b))">repeat(2, (a) 1fr (b))</span> expanding into <spanclass=cssdata-link-type=maybetitle="(a) 1fr (b) (a) 1fr (b)">(a) 1fr (b) (a) 1fr (b)</span>.)
1085
+
The <aclass="production css-code" data-link-type=typehref=#typedef-line-namestitle="<line-names>"><line-names></a> in its argument specify the position of some named lines relative to the tracks it defines;
1086
+
these must be joined with any other named lines defined for that position.
1087
+
(So the previous example is actually equivalent to the expanded value <spanclass=cssdata-link-type=maybetitle="(a) 1fr (b a) 1fr (b)">(a) 1fr (b a) 1fr (b)</span>.)
0 commit comments