aboutsummaryrefslogtreecommitdiffstats
path: root/tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js
diff options
context:
space:
mode:
authorMs2ger <Ms2ger@gmail.com>2015-12-09 01:48:05 -0500
committerMs2ger <Ms2ger@gmail.com>2015-12-10 10:03:03 -0500
commit35c74aecc22e60ccb3dbb03000c8546941b8250c (patch)
tree91cc0748250b0808b56652bd4162414074490410 /tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js
parent9aa1b1e408f3c7cc9c7774da203d261ac0922866 (diff)
downloadservo-35c74aecc22e60ccb3dbb03000c8546941b8250c.tar.gz
servo-35c74aecc22e60ccb3dbb03000c8546941b8250c.zip
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
Diffstat (limited to 'tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js')
-rw-r--r--tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js b/tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js
index 242cd3ca635..805a1f24d6b 100644
--- a/tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js
+++ b/tests/wpt/css-tests/css21_dev/xhtml1/reference/support/helper.js
@@ -1,6 +1,6 @@
-//
+//
// Simple Helper Functions For Testing CSS
-//
+//
(function(root) {
'use strict';
@@ -17,7 +17,7 @@ root.setStyle = function(selector, styles) {
target.type = "text/css";
document.getElementsByTagName('head')[0].appendChild(target);
}
-
+
var data = [];
// single selector/styles
if (typeof selector === 'string' && styles !== undefined) {
@@ -44,7 +44,7 @@ function serializeStyles(styles) {
data.push(prefixedProperty + ":" + styles[property] + ";");
}
}
-
+
return data.join('\n');
}