@@ -635,31 +635,31 @@ Interpolated Property Values: the ''mix()'' notation</h3>
635635 will resolve at computed-value time:
636636
637637 <pre>
638- color: mix(90%; red; blue);
638+ color: mix(90%, red, blue);
639639 /* via simple interpolation,
640640 computes to: */
641641 color: rgb(10% 0 90%);
642642
643- color: mix(90%; currentcolor; black);
643+ color: mix(90%, currentcolor, black);
644644 /* can't be fully resolved at computed-value time,
645645 but still has a defined representation: */
646646 color: color-mix(currentcolor 90%, black 10%);
647647
648- float: mix(90%; left; right);
648+ float: mix(90%, left, right);
649649 /* discretely animatable */
650650 float: right;
651651 </pre>
652652
653653 But a few cases don't have an intermediate representation:
654654
655655 <pre>
656- transform: mix(90%; translate(calc(1em + 50%)); rotate(30deg));
656+ transform: mix(90%, translate(calc(1em + 50%)), rotate(30deg));
657657 /* because functions don't match, it will interpolate
658658 via matrix(). But translate(%) needs layout
659659 information to turn into a matrix(), so the
660660 interpolated value can't actually be represented.
661661 Computes to: */
662- transform: mix(90%; translate(calc(16px + 50%)); rotate(30deg));
662+ transform: mix(90%, translate(calc(16px + 50%)), rotate(30deg));
663663 transform: mix(90% of ripple);
664664 </pre>
665665 </div>
@@ -675,13 +675,13 @@ Interpolated Property Values: the ''mix()'' notation</h3>
675675
676676 <pre>
677677 /* Invalid start value */
678- color: mix(90% ; #invalid ; #F00);
678+ color: mix(90%, #invalid, #F00);
679679
680680 /* Function is mixed with other values */
681- background: url(ocean) mix(10% ; blue ; yellow);
681+ background: url(ocean) mix(10%, blue, yellow);
682682
683683 /* 'animation-*' is not animatable */
684- animation-delay: mix(0% ; 0s ; 2s);
684+ animation-delay: mix(0%, 0s, 2s);
685685 </pre>
686686 </div>
687687
@@ -790,7 +790,7 @@ Toggling Between Values: ''toggle()''</h3>
790790 The following example makes <code> <em></code> elements italic in general,
791791 but makes them normal if they're inside something that's italic:
792792
793- <pre> em { font-style: toggle(italic; normal); }</pre>
793+ <pre> em { font-style: toggle(italic, normal); }</pre>
794794 </div>
795795
796796 <div class='example'>
@@ -800,7 +800,7 @@ Toggling Between Values: ''toggle()''</h3>
800800 and then repeat through the list of marker shapes,
801801 starting again (for the 5th list deep) with ''list-style-type/disc'' .
802802
803- <pre> ul { list-style-type: toggle(disc; circle; square; box); }</pre>
803+ <pre> ul { list-style-type: toggle(disc, circle, square, box); }</pre>
804804 </div>
805805
806806 The syntax of the ''toggle()'' expression is:
@@ -840,7 +840,7 @@ Toggling Between Values: ''toggle()''</h3>
840840
841841
842842 Note: This means that repeating values in a ''toggle()'' short-circuits the list.
843- For example ''toggle(1em, 2em, 1em, 4em)'' will be equivalent to ''toggle(1em; 2em)'' .
843+ For example ''toggle(1em, 2em, 1em, 4em)'' will be equivalent to ''toggle(1em, 2em)'' .
844844
845845 <!-- Issue: Should this short-circuiting affect the computed value? -->
846846
@@ -1409,23 +1409,23 @@ Picking a Random Item From a List: the ''random-item()'' function</h3>
14091409 is much simpler:
14101410 all that matters is the number of arguments.
14111411
1412- That is, ''random-item(--x; red; blue; green)''
1413- and ''random-item(--x; 1; 2; 3)''
1412+ That is, ''random-item(--x, red, blue, green)''
1413+ and ''random-item(--x, 1, 2, 3)''
14141414 will always resolve to the same argument index:
14151415 either ''red'' and ''1'' , or ''blue'' and ''2'' , or ''green'' and ''3'' .
14161416 This allows coordination between groups of properties
14171417 that all want to use a random set of values.
14181418
1419- On the other hand, ''random-item(--x; red; blue; green)''
1420- and ''random-item(--x; 1; 2; 3; 4)''
1419+ On the other hand, ''random-item(--x, red, blue, green)''
1420+ and ''random-item(--x, 1, 2, 3, 4)''
14211421 will have no connection to each other;
14221422 any of the 12 possible combinations can occur.
14231423 </div>
14241424
14251425 Note: The <<random-caching-options>> argument is required in ''random-item()'' ,
14261426 but optional in ''random()'' ,
14271427 both for parsing reasons
1428- (it's impossible to tell whether ''random-item(--foo; --bar; --baz)''
1428+ (it's impossible to tell whether ''random-item(--foo, --bar, --baz)''
14291429 has three <<declaration-value>> arguments
14301430 or two and a <<random-caching-options>> argument),
14311431 and because accidentally associating the random generation of ''random-item()'' functions together
0 commit comments