Auto merge of #16791 - upsuper:counters-fix, r=heycam

Fix serialization of counters function.

This would fix several failures in Gecko's test.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16791)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-05-10 00:26:04 -05:00 committed by GitHub
commit bd3ebf219e

View file

@ -72,7 +72,7 @@
dest.write_str(")")
}
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!(dest.write_str(", "));
try!(cssparser::serialize_string(&**separator, dest));