Module counter_style

Source
Expand description

The @counter-style at-rule.

MacrosΒ§

checker πŸ”’
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.
CounterStyleRuleData
An @counter-style rule
CounterStyleRuleParser πŸ”’
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