mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add 'fallback' descriptor to @counter-style
This commit is contained in:
parent
e27de3842d
commit
0ba5cae707
3 changed files with 32 additions and 0 deletions
|
@ -221,3 +221,9 @@ impl ToNsCssValue for counter_style::Pad {
|
|||
//nscssvalue.set_pair(min_length, pad_with);
|
||||
}
|
||||
}
|
||||
|
||||
impl ToNsCssValue for counter_style::Fallback {
|
||||
fn convert(&self, nscssvalue: &mut nsCSSValue) {
|
||||
nscssvalue.set_ident_from_atom(&self.0 .0)
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue