mirror of
https://github.com/servo/servo.git
synced 2025-09-30 16:49:16 +01:00
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:
commit
e1ede2074d
5 changed files with 49 additions and 5 deletions
|
@ -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
|
||||
}
|
||||
}
|
16
tests/wpt/mozilla/tests/mozilla/style_no_trailing_space.html
Normal file
16
tests/wpt/mozilla/tests/mozilla/style_no_trailing_space.html
Normal 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>
|
Loading…
Add table
Add a link
Reference in a new issue