summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-syntax
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-syntax')
-rw-r--r--testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html b/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html
index b1adce7f9e..04f908acde 100644
--- a/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html
+++ b/testing/web-platform/tests/css/css-syntax/custom-property-rule-ambiguity.html
@@ -47,7 +47,7 @@
assert_equals(rules[0].selectorText, 'div');
let div = rules[0];
let x = div.style.getPropertyValue('--x');
- assert_equals(x, 'hover { }\n .b { }');
+ assert_equals(x.trim(), 'hover { }\n .b { }');
let childRules = div.cssRules;
assert_equals(childRules.length, 1);
assert_equals(childRules[0].selectorText, '& .a');