Add 'fallback' descriptor to @counter-style

This commit is contained in:
Simon Sapin 2017-04-14 10:08:44 +02:00
parent e27de3842d
commit 0ba5cae707
3 changed files with 32 additions and 0 deletions

View file

@ -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)
}
}