Auto merge of #7429 - GyrosOfWar:serialize_list_space_fix, r=jdm

Fixed serialize_list to no longer append an additional space at the e…

…nd of the string.

Fixes #7404

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7429)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-09-02 09:15:16 -06:00
commit e1ede2074d
5 changed files with 49 additions and 5 deletions

View file

@ -737,6 +737,12 @@
"url": "/_mozilla/mozilla/storage.html"
}
],
"mozilla/style_no_trailing_space.html": [
{
"path": "mozilla/style_no_trailing_space.html",
"url": "/_mozilla/mozilla/style_no_trailing_space.html"
}
],
"mozilla/textcontent.html": [
{
"path": "mozilla/textcontent.html",
@ -1064,4 +1070,4 @@
"rev": null,
"url_base": "/_mozilla/",
"version": 2
}
}

View file

@ -0,0 +1,16 @@
<html>
<head>
<title></title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="foo" style="border-width: 1px"></div>
<script>
test(function() {
var border_width = document.getElementById("foo").style["borderWidth"];
assert_equals(border_width, "1px 1px 1px 1px");
});
</script>
</body>
</html>