You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 fixed or extends a 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:
symbols can be set only if the system neither is additive or extends a predefined counter style
additiveSymbols can only be set if the system is additive
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.
The text was updated successfully, but these errors were encountered:
For the setter of descriptors defined as attributes on
CSSCounterStyleRule
, the spec says:From the behavior observed in Chrome, it can be set when:
symbolic
(default value)fixed
orextends
a predefined counter styleIt 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:
symbols
can be set only if the system neither isadditive
orextends
a predefined counter styleadditiveSymbols
can only be set if the system isadditive
With
rule
representing@counter-style name {}
, authors cannot setrule.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 issymbolic
(default value) butsymbols
(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.
The text was updated successfully, but these errors were encountered: