Don’t make up initial values not in spec for @counter-style descriptors

This commit is contained in:
Simon Sapin 2017-04-14 10:52:47 +02:00
parent 617e8e9768
commit f93a9a4b10
2 changed files with 45 additions and 23 deletions

View file

@ -230,8 +230,7 @@ impl ToNsCssValue for counter_style::Fallback {
impl ToNsCssValue for counter_style::Symbols {
fn convert(&self, _nscssvalue: &mut nsCSSValue) {
if !self.0.is_empty() {
// FIXME: add bindings for nsCSSValueList
}
debug_assert!(!self.0.is_empty());
// FIXME: add bindings for nsCSSValueList
}
}