diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-05-10 00:26:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-10 00:26:04 -0500 |
commit | bd3ebf219ec6fba46cea78519e910fe578b73173 (patch) | |
tree | 4a0837c3979a8e0e58f9e94c3bfa6421596750c8 | |
parent | 2a7ef1d203b003246ddadc147251135d2b135aa6 (diff) | |
parent | 512c2e9d88e245cd68b4cce23bca36b6f6b56b7f (diff) | |
download | servo-bd3ebf219ec6fba46cea78519e910fe578b73173.tar.gz servo-bd3ebf219ec6fba46cea78519e910fe578b73173.zip |
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 -->
-rw-r--r-- | components/style/properties/longhand/counters.mako.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/style/properties/longhand/counters.mako.rs b/components/style/properties/longhand/counters.mako.rs index d5e68d72970..e9e23d54dc0 100644 --- a/components/style/properties/longhand/counters.mako.rs +++ b/components/style/properties/longhand/counters.mako.rs @@ -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)); |