@@ -466,13 +466,13 @@ Combining Values: Interpolation, Addition, and Accumulation</h2>
466466 its <a>accumulation</a> operation is identical to <a>addition</a> .
467467
468468<!--
469- ██ ██ ████ ██ ██ ███ ███
470- ███ ███ ██ ██ ██ ██ ██
469+ ██ ██ ████ ██ ██ ███ ███
470+ ███ ███ ██ ██ ██ ██ ██
471471████ ████ ██ ██ ██ ██ ██
472472██ ███ ██ ██ ███ ██ ██
473473██ ██ ██ ██ ██ ██ ██
474- ██ ██ ██ ██ ██ ██ ██
475- ██ ██ ████ ██ ██ ███ ███
474+ ██ ██ ██ ██ ██ ██ ██
475+ ██ ██ ████ ██ ██ ███ ███
476476-->
477477
478478<h3 id="interpolate">
@@ -2641,7 +2641,7 @@ Toggling Between Values: ''toggle()''</h3>
26412641 The following example makes <code> <em></code> elements italic in general,
26422642 but makes them normal if they're inside something that's italic:
26432643
2644- <pre> em { font-style: toggle(italic, normal); }</pre>
2644+ <pre> em { font-style: toggle(italic; normal); }</pre>
26452645 </div>
26462646
26472647 <div class='example'>
@@ -2651,7 +2651,7 @@ Toggling Between Values: ''toggle()''</h3>
26512651 and then repeat through the list of marker shapes,
26522652 starting again (for the 5th list deep) with ''list-style-type/disc'' .
26532653
2654- <pre> ul { list-style-type: toggle(disc, circle, square, box); }</pre>
2654+ <pre> ul { list-style-type: toggle(disc; circle; square; box); }</pre>
26552655 </div>
26562656
26572657 The syntax of the ''toggle()'' expression is:
@@ -2699,7 +2699,7 @@ Toggling Between Values: ''toggle()''</h3>
26992699
27002700
27012701 Note: This means that repeating values in a ''toggle()'' short-circuits the list.
2702- For example ''toggle(1em, 2em, 1em, 4em)'' will be equivalent to ''toggle(1em, 2em)'' .
2702+ For example ''toggle(1em; 2em; 1em; 4em)'' will be equivalent to ''toggle(1em; 2em)'' .
27032703
27042704 <!-- Issue: Should this short-circuiting affect the computed value? -->
27052705
@@ -2732,10 +2732,10 @@ Toggling Between Values: ''toggle()''</h3>
27322732 is equivalent to the following longhand declarations:
27332733
27342734 <pre>
2735- margin-top: toggle(1px, 4px, 1px);
2736- margin-right: toggle(2px, 4px, 5px);
2737- margin-bottom: toggle(1px, 4px, 4px);
2738- margin-left: toggle(2px, 4px, 5px);
2735+ margin-top: toggle(1px; 4px; 1px);
2736+ margin-right: toggle(2px; 4px; 5px);
2737+ margin-bottom: toggle(1px; 4px; 4px);
2738+ margin-left: toggle(2px; 4px; 5px);
27392739 </pre>
27402740
27412741 Note that, since ''1px'' appears twice in the top margin and ''4px'' appears twice in bottom margin,
@@ -2745,10 +2745,10 @@ Toggling Between Values: ''toggle()''</h3>
27452745 as the longhand declarations below:
27462746
27472747 <pre>
2748- margin-top: toggle(1px, 4px);
2749- margin-right: toggle(2px, 4px, 5px);
2750- margin-bottom: toggle(1px, 4px);
2751- margin-left: toggle(2px, 4px, 5px);
2748+ margin-top: toggle(1px; 4px);
2749+ margin-right: toggle(2px; 4px; 5px);
2750+ margin-bottom: toggle(1px; 4px);
2751+ margin-left: toggle(2px; 4px; 5px);
27522752 </pre>
27532753
27542754 which may not be what was intended.
0 commit comments