@@ -272,7 +272,8 @@ Cycling Symbols: the ''cyclic'' system</h4>
272
272
the second <a>counter symbol</a> (if it exists) is used as the representation of the value 2, etc.
273
273
274
274
If the system is ''cyclic'' ,
275
- the '@counter-style/symbols' descriptor must contain at least one <a>counter symbol</a> .
275
+ the '@counter-style/symbols' descriptor must contain at least one <a>counter symbol</a> ,
276
+ otherwise the rule does not define a counter style (but is still a valid rule).
276
277
This system is defined over all counter values.
277
278
278
279
<div class=example>
@@ -321,7 +322,8 @@ Exhaustible Symbols: the ''system/fixed'' system</h4>
321
322
such as circled digits.
322
323
323
324
If the system is ''system/fixed'' ,
324
- the '@counter-style/symbols' descriptor must contain at least one <a>counter symbol</a> .
325
+ the '@counter-style/symbols' descriptor must contain at least one <a>counter symbol</a> ,
326
+ otherwise the rule does not define a counter style (but is still a valid rule).
325
327
This system is defined over counter values in a finite range,
326
328
starting with the <a>first symbol value</a> and having a length equal to the length of the list of <a>counter symbols</a> .
327
329
@@ -381,7 +383,8 @@ Repeating Symbols: the ''symbolic'' system</h4>
381
383
and is also sometimes used for alphabetic-style lists for a slightly different presentation than what the ''system/alphabetic'' system presents.
382
384
383
385
If the system is ''symbolic'' ,
384
- the '@counter-style/symbols' descriptor must contain at least one <a>counter symbol</a> .
386
+ the '@counter-style/symbols' descriptor must contain at least one <a>counter symbol</a> ,
387
+ otherwise the rule does not define a counter style (but is still a valid rule).
385
388
This system is defined only over strictly positive counter values.
386
389
387
390
<div class=example>
@@ -469,7 +472,8 @@ Bijective Numerals: the ''alphabetic'' system</h4>
469
472
and so on.
470
473
471
474
If the system is ''system/alphabetic'' ,
472
- the '@counter-style/symbols' descriptor must contain at least two <a>counter symbols</a> .
475
+ the '@counter-style/symbols' descriptor must contain at least two <a>counter symbols</a> ,
476
+ otherwise the rule does not define a counter style (but is still a valid rule).
473
477
This system is defined only over strictly positive counter values.
474
478
475
479
<div class=example>
@@ -541,7 +545,8 @@ Positional Numerals: the ''numeric'' system</h4>
541
545
and so on.
542
546
543
547
If the system is ''system/numeric'' ,
544
- the '@counter-style/symbols' descriptor must contain at least two <a>counter symbols</a> .
548
+ the '@counter-style/symbols' descriptor must contain at least two <a>counter symbols</a> ,
549
+ otherwise the rule does not define a counter style (but is still a valid rule).
545
550
This system is defined over all counter values.
546
551
547
552
<div class=example>
@@ -612,7 +617,8 @@ Accumulating Numerals: the ''additive'' system</h4>
612
617
and other numbering systems around the world.
613
618
614
619
If the system is ''additive'' ,
615
- the '@counter-style/additive-symbols' descriptor must contain at least one <a>additive tuple</a> .
620
+ the '@counter-style/additive-symbols' descriptor must contain at least one <a>additive tuple</a> ,
621
+ otherwise the rule does not define a counter style (but is still a valid rule).
616
622
This system is nominally defined over all counter values
617
623
(see algorithm, below, for exact details).
618
624
@@ -709,7 +715,8 @@ Building from Existing Counter Styles: the ''extends'' system
709
715
rather than taking their initial values.
710
716
711
717
If a ''@counter-style'' uses the ''extends'' system,
712
- it must not contain a '@counter-style/symbols' or '@counter-style/additive-symbols' descriptor.
718
+ it must not contain a '@counter-style/symbols' or '@counter-style/additive-symbols' descriptor,
719
+ otherwise the rule does not define a counter style (but is still a valid rule).
713
720
714
721
If the specified <<counter-style-name>> is an [=ASCII case-insensitive=] match
715
722
for ''disc'' , ''circle'' , ''square'' , ''disclosure-open'' , or ''disclosure-closed''
@@ -2615,7 +2622,7 @@ The <code>CSSCounterStyleRule</code> interface</h3>
2615
2622
1. [=CSS/parse=] [=the given value=] as the descriptor associated with the attribute.
2616
2623
2617
2624
2. If the result is invalid according to the given descriptor's grammar,
2618
- or would cause the ''@counter-style'' rule to become invalid ,
2625
+ or would cause the ''@counter-style'' rule to not define a counter style ,
2619
2626
do nothing and abort these steps.
2620
2627
(For example, some systems require the '@counter-style/symbols' descriptor to contain two values.)
2621
2628
0 commit comments