Module counter_style

Module counter_style 

Source
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§

AdditiveSymbols
https://drafts.csswg.org/css-counter-styles/#descdef-counter-style-additive-symbols
AdditiveTuple
&&
CounterRange
https://drafts.csswg.org/css-counter-styles/#counter-style-range
CounterRanges
https://drafts.csswg.org/css-counter-styles/#counter-style-range
CounterStyleParsingFlags
Flags to control parsing of counter styles.
CounterStyleRule
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§

CounterBound
A bound found in CounterRanges.
CounterStyle
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
SymbolsType
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