Expand description
The @counter-style at-rule.
Re-exports§
pub use crate::properties::counter_style::DescriptorId;pub use crate::properties::counter_style::DescriptorParser;pub use crate::properties::counter_style::Descriptors;
Structs§
- Additive
Symbols - https://drafts.csswg.org/css-counter-styles/#descdef-counter-style-additive-symbols
- Additive
Tuple && - Counter
Range - https://drafts.csswg.org/css-counter-styles/#counter-style-range
- Counter
Ranges - https://drafts.csswg.org/css-counter-styles/#counter-style-range
- Counter
Style Parsing Flags - Flags to control parsing of counter styles.
- Counter
Style Rule - A @counter-style rule
- Fallback
- https://drafts.csswg.org/css-counter-styles/#counter-style-fallback
- Negative
- https://drafts.csswg.org/css-counter-styles/#counter-style-negative
- Pad
- https://drafts.csswg.org/css-counter-styles/#counter-style-pad
- Symbols
- https://drafts.csswg.org/css-counter-styles/#descdef-counter-style-symbols
Enums§
- Counter
Bound - A bound found in
CounterRanges. - Counter
Style - https://drafts.csswg.org/css-counter-styles/#typedef-counter-style
- SpeakAs
- https://drafts.csswg.org/css-counter-styles/#counter-style-speak-as
- Symbol
- https://drafts.csswg.org/css-counter-styles/#typedef-symbol
- Symbols
Type - https://drafts.csswg.org/css-counter-styles/#typedef-symbols-type
- System
- https://drafts.csswg.org/css-counter-styles/#counter-style-system
Functions§
- counter_
style_ 🔒name_ from_ ident - This allows the reserved counter style names “decimal” and “disc”.
- is_
symbolic 🔒 - is_
valid_ 🔒name_ definition - parse_
bound 🔒 - parse_
counter_ style_ body - Parse the body (inside
{}) of an @counter-style rule - parse_
counter_ 🔒style_ name - parse_
counter_ style_ name_ definition - Parse the prelude of an @counter-style rule