The CSSCounterStyleRule
interface represents an @counter-style
at-rule.
This interface inherits from the following parent interfaces:
This interface also inherits properties from its parent CSSRule
.
CSSCounterStyleRule.name
DOMString
object that contains the serialization of the <counter-style-name>
defined for the associated rule.CSSCounterStyleRule.system
DOMString
object that contains the serialization of the system
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.symbols
DOMString
object that contains the serialization of the symbols
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.additiveSymbols
DOMString
object that contains the serialization of the additive-symbols
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.negative
DOMString
object that contains the serialization of the negative
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.prefix
DOMString
object that contains the serialization of the prefix
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.suffix
DOMString
object that contains the serialization of the suffix
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.range
DOMString
object that contains the serialization of the range
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.pad
DOMString
object that contains the serialization of the pad
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.speakAs
DOMString
object that contains the serialization of the speak-as
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.CSSCounterStyleRule.fallback
DOMString
object that contains the serialization of the fallback
descriptor defined for the associated rule. If the descriptor was not specified in the associated rule, the attribute returns an empty string.This interface doesn't implement any specific method but inherits methods from its parent CSSRule
.
Specification | Status | Comment |
---|---|---|
CSS Counter Styles Level 3 The definition of 'CSSCounterStyleRule' in that specification. | Candidate Recommendation | Initial definition |
Feature | Chrome | Edge | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|---|
Basic support | No support | No support | 33.0 (33.0) | No support | No support | No support |
Feature | Android | Firefox Mobile (Gecko) | IE Phone | Opera Mobile | Safari Mobile |
---|---|---|---|---|---|
Basic support | No support | 33.0 (33.0) | No support | No support | No support |
© 2005–2017 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/CSSCounterStyleRule