| Index: third_party/WebKit/LayoutTests/css3/supports-cssom-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/css3/supports-cssom-expected.txt b/third_party/WebKit/LayoutTests/css3/supports-cssom-expected.txt
|
| index 45a72520a297d7eeaf5fe0217a07e1a6f5d7b2b8..135a18549a13f446fd72606d3e75bda52d635845 100644
|
| --- a/third_party/WebKit/LayoutTests/css3/supports-cssom-expected.txt
|
| +++ b/third_party/WebKit/LayoutTests/css3/supports-cssom-expected.txt
|
| @@ -18,9 +18,9 @@ PASS rules[0].conditionText is "(width: 0)"
|
| PASS rules[0].cssText is "@supports (width: 0) {\n s { width: 0px; }\n @supports (width: 1) {\n s { color: rgb(0, 0, 0); }\n}\n}"
|
|
|
| Missing argument exceptions.
|
| -PASS rules[0].insertRule() threw exception TypeError: Failed to execute 'insertRule' on 'CSSSupportsRule': 2 arguments required, but only 0 present..
|
| -PASS rules[0].insertRule('@media all {}') threw exception TypeError: Failed to execute 'insertRule' on 'CSSSupportsRule': 2 arguments required, but only 1 present..
|
| -PASS rules[0].deleteRule() threw exception TypeError: Failed to execute 'deleteRule' on 'CSSSupportsRule': 1 argument required, but only 0 present..
|
| +PASS rules[0].insertRule() threw exception TypeError: Failed to execute 'insertRule' on 'CSSGroupingRule': 2 arguments required, but only 0 present..
|
| +PASS rules[0].insertRule('@media all {}') threw exception TypeError: Failed to execute 'insertRule' on 'CSSGroupingRule': 2 arguments required, but only 1 present..
|
| +PASS rules[0].deleteRule() threw exception TypeError: Failed to execute 'deleteRule' on 'CSSGroupingRule': 1 argument required, but only 0 present..
|
|
|
| Inserting and deleting rules.
|
| rules[0].insertRule('@media all { #s { width: 0px; } }', 2)
|
| @@ -36,9 +36,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 'CSSSupportsRule': the rule '@charset "UTF-8"' is invalid and cannot be parsed..
|
| -PASS rules[0].insertRule('@namespace ""', 2) threw exception HierarchyRequestError: Failed to execute 'insertRule' on 'CSSSupportsRule': '@namespace' rules cannot be inserted inside a group rule..
|
| -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..
|
| +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 HierarchyRequestError: Failed to execute 'insertRule' on 'CSSGroupingRule': '@namespace' rules cannot be inserted inside a group rule..
|
| +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..
|
|
|
| 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))"
|
|
|