mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Add 'prefix' and 'suffix' descriptors for @counter-style
This commit is contained in:
parent
d1558a2025
commit
29bcb5b636
1 changed files with 6 additions and 0 deletions
|
@ -133,6 +133,12 @@ counter_style_descriptors! {
|
|||
/// https://drafts.csswg.org/css-counter-styles/#counter-style-negative
|
||||
"negative" negative / eCSSCounterDesc_Negative: Negative =
|
||||
Negative(Symbol::String("-".to_owned()), None);
|
||||
|
||||
/// https://drafts.csswg.org/css-counter-styles/#counter-style-prefix
|
||||
"prefix" prefix / eCSSCounterDesc_Prefix: Symbol = Symbol::String("".to_owned());
|
||||
|
||||
/// https://drafts.csswg.org/css-counter-styles/#counter-style-suffix
|
||||
"suffix" suffix / eCSSCounterDesc_Suffix: Symbol = Symbol::String(". ".to_owned());
|
||||
}
|
||||
|
||||
/// https://drafts.csswg.org/css-counter-styles/#counter-style-system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue