-
Notifications
You must be signed in to change notification settings - Fork 757
Open
Labels
css-counter-styles-3Current WorkCurrent Work
Description
For the setter of descriptors defined as attributes on CSSCounterStyleRule, the spec says:
- If the attribute being set is
system, and the new value would change the algorithm used, do nothing and abort these steps. It’s okay to change an aspect of the algorithm, like the first symbol value of a fixed system.
From the behavior observed in Chrome, it can be set when:
- the current system is omitted and the specified system is
symbolic(default value) - the current and specified systems are
fixedorextendsa predefined counter style
It may be usefull to clarify (2) because it is not clear why the algorithm does not change.
Besides, still based on the behavior observed in Chrome, this is unspecified:
symbolscan be set only if the system neither isadditiveorextendsa predefined counter styleadditiveSymbolscan only be set if the system isadditive
With rule representing @counter-style name {}, authors cannot set rule.additiveSymbols = '1 a', whereas @counter-style name { additive-symbols: 1 a } is a valid rule (not defining a counter style). In both cases, the system is symbolic (default value) but symbols (is not declared and) does not have at least one symbol.
Now I do not think this is a problem, but it might be useful to also add these restrictions.
Metadata
Metadata
Assignees
Labels
css-counter-styles-3Current WorkCurrent Work