Fix serialization of counters function.

This commit is contained in:
Xidorn Quan 2017-05-10 14:38:32 +10:00
parent e029a42653
commit 512c2e9d88

View file

@ -72,7 +72,7 @@
dest.write_str(")") dest.write_str(")")
} }
ContentItem::Counters(ref s, ref separator, ref list_style_type) => { ContentItem::Counters(ref s, ref separator, ref list_style_type) => {
try!(dest.write_str("counter(")); try!(dest.write_str("counters("));
try!(cssparser::serialize_identifier(&**s, dest)); try!(cssparser::serialize_identifier(&**s, dest));
try!(dest.write_str(", ")); try!(dest.write_str(", "));
try!(cssparser::serialize_string(&**separator, dest)); try!(cssparser::serialize_string(&**separator, dest));