Index: LayoutTests/css3/supports-cssom-expected.txt |
diff --git a/LayoutTests/css3/supports-cssom-expected.txt b/LayoutTests/css3/supports-cssom-expected.txt |
index 5b5c86bcb27088591de9873aaed54cda6321587d..3e20cae211cf21affabaaadcf3e1f117e716e139 100644 |
--- a/LayoutTests/css3/supports-cssom-expected.txt |
+++ b/LayoutTests/css3/supports-cssom-expected.txt |
@@ -28,9 +28,9 @@ rules[0].cssRules[1].deleteRule(1) |
PASS rules[0].cssRules.length is 2 |
@charset, @namespace, @import rules are not allowed inside @supports. |
-PASS rules[0].insertRule('@charset "UTF-8"', 2) threw exception SyntaxError: Failed to execute 'insertRule' on 'CSSGroupingRule': the rule '@charset "UTF-8"' is invalid and cannot be parsed.. |
-PASS rules[0].insertRule('@namespace ""', 2) threw exception SyntaxError: Failed to execute 'insertRule' on 'CSSGroupingRule': the rule '@namespace ""' is invalid and cannot be parsed.. |
-PASS rules[0].insertRule('@import url("../fast/cssom/resources/import.css")', 2) threw exception HierarchyRequestError: Failed to execute 'insertRule' on 'CSSGroupingRule': '@import' rules cannot be inserted inside a group rule.. |
+PASS rules[0].insertRule('@charset "UTF-8"', 2) threw exception SyntaxError: Failed to execute 'insertRule' on 'CSSSupportsRule': the rule '@charset "UTF-8"' is invalid and cannot be parsed.. |
+PASS rules[0].insertRule('@namespace ""', 2) threw exception SyntaxError: Failed to execute 'insertRule' on 'CSSSupportsRule': the rule '@namespace ""' is invalid and cannot be parsed.. |
+PASS rules[0].insertRule('@import url("../fast/cssom/resources/import.css")', 2) threw exception HierarchyRequestError: Failed to execute 'insertRule' on 'CSSSupportsRule': '@import' rules cannot be inserted inside a group rule.. |
Whitespace and formatting should be preserved within the condition, whitespace outside the condition should be trimmed. |
PASS rules[1].conditionText is "(( ( padding: 0) and (display: none)) or (display: rainbow))" |