Add missing 'additive-symbols' validity checks

This commit is contained in:
Simon Sapin 2017-04-14 12:14:33 +02:00
parent 331acfaf9b
commit ade56bbe8d
2 changed files with 37 additions and 13 deletions

View file

@ -235,9 +235,9 @@ impl ToNsCssValue for counter_style::Symbols {
}
}
impl ToNsCssValue for Vec<counter_style::AdditiveSymbol> {
impl ToNsCssValue for counter_style::AdditiveSymbols {
fn convert(&self, _nscssvalue: &mut nsCSSValue) {
debug_assert!(!self.is_empty());
debug_assert!(!self.0.is_empty());
// FIXME: add bindings for nsCSSValuePairList
}
}