Skip to content

Commit ba2a8cb

Browse files
committed
[css-counter-styles] Remove more mentions of insufficient 'symbols' length making things invalid, and put an explainer about the length req into 'system' as well. Fixes w3c#5717.
1 parent 666d29c commit ba2a8cb

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

css-counter-styles-3/Overview.bs

+13-12
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,13 @@ Counter algorithms: the 'system' descriptor</h3>
235235
build their representation accordingly.
236236
The systems are defined in the following subsections.
237237

238+
Each 'system' value is associated with either the 'symbols' or 'additive-symbols' descriptors,
239+
and has a minimum length that the appropriate descriptor must have;
240+
each entry below defines what this is.
241+
If a ''@counter-style'' rule fails to meet this requirement,
242+
it does not define a [=counter style=].
243+
(The rule is still syntactically valid, but has no effect.)
244+
238245
<!--
239246
██████ ██ ██ ██████ ██ ████ ██████
240247
██ ██ ██ ██ ██ ██ ██ ██ ██ ██
@@ -257,8 +264,7 @@ Cycling Symbols: the ''cyclic'' system</h4>
257264
the second <a>counter symbol</a> (if it exists) is used as the representation of the value 2, etc.
258265

259266
If the system is ''cyclic'',
260-
the 'symbols' descriptor must contain at least one <a>counter symbol</a>,
261-
or else the ''@counter-style'' rule is invalid.
267+
the 'symbols' descriptor must contain at least one <a>counter symbol</a>.
262268
This system is defined over all counter values.
263269

264270
<div class=example>
@@ -307,8 +313,7 @@ Exhaustible Symbols: the ''system/fixed'' system</h4>
307313
such as circled digits.
308314

309315
If the system is ''system/fixed'',
310-
the 'symbols' descriptor must contain at least one <a>counter symbol</a>,
311-
or else the ''@counter-style'' rule is invalid.
316+
the 'symbols' descriptor must contain at least one <a>counter symbol</a>.
312317
This system is defined over counter values in a finite range,
313318
starting with the <a>first symbol value</a> and having a length equal to the length of the list of <a>counter symbols</a>.
314319

@@ -368,8 +373,7 @@ Repeating Symbols: the ''symbolic'' system</h4>
368373
and is also sometimes used for alphabetic-style lists for a slightly different presentation than what the ''system/alphabetic'' system presents.
369374

370375
If the system is ''symbolic'',
371-
the 'symbols' descriptor must contain at least one <a>counter symbol</a>,
372-
or else the ''@counter-style'' rule is invalid.
376+
the 'symbols' descriptor must contain at least one <a>counter symbol</a>.
373377
This system is defined only over strictly positive counter values.
374378

375379
<div class=example>
@@ -457,8 +461,7 @@ Bijective Numerals: the ''alphabetic'' system</h4>
457461
and so on.
458462

459463
If the system is ''system/alphabetic'',
460-
the 'symbols' descriptor must contain at least two <a>counter symbols</a>,
461-
or else the ''@counter-style'' rule is invalid.
464+
the 'symbols' descriptor must contain at least two <a>counter symbols</a>.
462465
This system is defined only over strictly positive counter values.
463466

464467
<div class=example>
@@ -530,8 +533,7 @@ Positional Numerals: the ''numeric'' system</h4>
530533
and so on.
531534

532535
If the system is ''system/numeric'',
533-
the 'symbols' descriptor must contain at least two <a>counter symbols</a>,
534-
or else the ''@counter-style'' rule is invalid.
536+
the 'symbols' descriptor must contain at least two <a>counter symbols</a>.
535537
This system is defined over all counter values.
536538

537539
<div class=example>
@@ -602,8 +604,7 @@ Accumulating Numerals: the ''additive'' system</h4>
602604
and other numbering systems around the world.
603605

604606
If the system is ''additive'',
605-
the 'additive-symbols' descriptor must contain at least one <a>additive tuple</a>,
606-
or else the ''@counter-style'' rule is invalid.
607+
the 'additive-symbols' descriptor must contain at least one <a>additive tuple</a>.
607608
This system is nominally defined over all counter values
608609
(see algorithm, below, for exact details).
609610

0 commit comments

Comments
 (0)