web api interface
CSSCounterStyleRule
The CSSCounterStyleRule interface represents an @counter-style at-rule.
Instance properties
This interface also inherits properties from its parent CSSRule.
name- : A string that contains the serialization of the
<custom-ident>defined as thenamefor the associated rule.
- : A string that contains the serialization of the
system- : A string that contains the serialization of the
systemdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
symbols- : A string that contains the serialization of the
symbolsdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
additiveSymbols- : A string that contains the serialization of the
additive-symbolsdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
negative- : A string that contains the serialization of the
negativedescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
prefix- : A string that contains the serialization of the
prefixdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
suffix- : A string that contains the serialization of the
suffixdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
range- : A string that contains the serialization of the
rangedescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
pad- : A string that contains the serialization of the
paddescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
speakAs- : A string that contains the serialization of the
speak-asdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
fallback- : A string that contains the serialization of the
fallbackdescriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.
- : A string that contains the serialization of the
Instance methods
This interface doesn’t implement any specific method but inherits methods from its parent CSSRule.
Specifications
SpecificationsStandards references are available on the canonical MDN page.
Browser compatibility
Browser compatibilityCompatibility data is available on the canonical MDN page.
See also
@counter-style- CSS counter styles module
- Using CSS counters guide