diff options
author | Josh Matthews <josh@joshmatthews.net> | 2017-11-01 18:17:08 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2017-11-02 09:22:26 -0400 |
commit | 12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6 (patch) | |
tree | 982bef2092a4a03855f51022c56460a546d5bce8 /tests/wpt/css-tests/css-conditional-3_dev | |
parent | 00940911c5755651df7038c7bf4b51c77a44c225 (diff) | |
download | servo-12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6.tar.gz servo-12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6.zip |
Remove all outdated CSS tests.
Diffstat (limited to 'tests/wpt/css-tests/css-conditional-3_dev')
319 files changed, 0 insertions, 15514 deletions
diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/001.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/001.htm deleted file mode 100644 index 447c0b0205e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/001.htm +++ /dev/null @@ -1,224 +0,0 @@ -<!DOCTYPE html> -<html><head><title>CSS Test (Conditional Rules): @supports rules OM support</title> -<link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> -<link href="http://opera.com" rel="author" title="Opera Software ASA"> -<link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> -<meta content="" name="flags"> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<style> - @supports (padding: 0) { - dfn { width:0; } - @supports (width: 0) { - br { height:0; } - } - ol { display:none; } - } - @media all { - @supports (padding: 0) { - @keyframes foo { - 0% { top: 0; left: 0; } - 100% { top: 100px; left: 100px; } - } - } - } - @supports (border: black) and (padding: 0) and (width: 0) { - dfn { width:0; } - } - @supports (border: black) or (padding: 0) or (width: 0) { - dfn { width:0; } - } -</style> -<script> - /** - * Asserts tha the two strings are equal, after normalizing whitespace - * - * If the serialization of whitespace and identation ever becomes - * specified to a sufficient degree of presition, this should be - * replaced by a strict textual comparison with assert_equals. - */ - function assert_equals_normalized(a, b) { - var normal_a = a.replace(/\s+/g, " "); - var normal_b = b.replace(/\s+/g, " "); - assert_equals(normal_a, normal_b); - } - test(function(){ - var base_rule = document.styleSheets[0].cssRules[0]; - var child_rule = base_rule.cssRules[1]; - assert_equals_normalized(base_rule.cssText, - "@supports (padding: 0) {\n" - +" dfn { width: 0px; }\n" - +" @supports (width: 0) {\n" - +" br { height: 0px; }\n" - +" }\n" - +" ol { display: none; }\n" - +"}"); - assert_equals_normalized(child_rule.cssText, - "@supports (width: 0) {\n" - +" br { height: 0px; }\n" - +"}"); - }, "nested @supports serialize properly"); - - test(function(){ - var base_rule = document.styleSheets[0].cssRules[1]; - var child_rule = base_rule.cssRules[0]; - var grand_child_rule = child_rule.cssRules[0]; - assert_equals_normalized(base_rule.cssText, - "@media all {\n" - +" @supports (padding: 0) {\n" - +" @keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +" }\n" - +" }\n" - +"}"); - assert_equals_normalized(child_rule.cssText, - "@supports (padding: 0) {\n" - +" @keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +" }\n" - +"}"); - assert_equals_normalized(grand_child_rule.cssText, - "@keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +"}"); - }, "@keyframes nested in @supports serialize properly"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - assert_equals(rules.length, 4); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[1].type, CSSRule.MEDIA_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - - assert_equals(rules[1].cssRules.length, 1); - assert_equals(rules[1].cssRules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[1].cssRules[0].cssRules.length, 1); - assert_equals(rules[1].cssRules[0].cssRules[0].type, CSSRule.KEYFRAMES_RULE); - - assert_equals(rules[2].cssRules.length, 1); - assert_equals(rules[2].cssRules[0].type, CSSRule.STYLE_RULE); - - assert_equals(rules[3].cssRules.length, 1); - assert_equals(rules[3].cssRules[0].type, CSSRule.STYLE_RULE); - }, "The style sheet structure is properly represented"); - - test(function(){ - document.styleSheets[0].deleteRule(1); - - var rules = document.styleSheets[0].cssRules; - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - }, "Deleting the top level of a nested structue works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].cssRules[1].insertRule("img { visibility:hidden; }", 0); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 2); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "img { visibility: hidden; }"); - assert_equals(rules[0].cssRules[1].cssRules[1].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[1].cssText, "br { height: 0px; }"); - }, "Rule insertion works in nested @supports rules"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].insertRule("@supports (left: 42px) { #foo { color:green; } }", 1); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 4); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[3].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "#foo { color: green; }"); - - assert_equals(rules[0].cssRules[2].cssRules.length, 2); - assert_equals(rules[0].cssRules[2].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[2].cssRules[0].cssText, "img { visibility: hidden; }"); - assert_equals(rules[0].cssRules[2].cssRules[1].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[2].cssRules[1].cssText, "br { height: 0px; }"); - }, "Insertion @supports rules into another @supports rule works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].deleteRule(2); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "#foo { color: green; }"); - }, "Deletion of a nested @supports rule works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].insertRule("@font-face { font-familly: foo; src: url('http://www.example.com/foo'; }", 0); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 4); - assert_equals(rules[0].cssRules[0].type, CSSRule.FONT_FACE_RULE); - }, "Inserting @font-face inside @supports works"); - - test(function(){ - var style_rule = document.styleSheets[0].cssRules[0].cssRules[1]; - - assert_throws(new TypeError(), function() { style_rule.insertRule("@supports (width: 0) { ol { width: 0; } }", 0);} ); - - }, "Inserting an @supports inside a style rule should fail"); - test(function(){ - var rule = document.styleSheets[0].cssRules[1]; - assert_equals_normalized(rule.cssText, - "@supports (border: black) and (padding: 0) and (width: 0) {\n" - +" dfn { width: 0px; }\n" - +"}"); - }, "'and' arguments in @supports serialize in the correct order and with extra parentheses"); - test(function(){ - var rule = document.styleSheets[0].cssRules[2]; - assert_equals_normalized(rule.cssText, - "@supports (border: black) or (padding: 0) or (width: 0) {\n" - +" dfn { width: 0px; }\n" - +"}"); - }, "'or' arguments in @supports serialize in the correct order and with extra parentheses"); -</script> - -</head><body><div id="log"></div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-media-whitespace-optional-001.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-media-whitespace-optional-001.htm deleted file mode 100644 index a2674d32e0b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-media-whitespace-optional-001.htm +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test: DESCRIPTION OF TEST</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron"> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation"> - <link href="reference/background-lime.htm" rel="match"> - <link href="http://www.w3.org/TR/css3-conditional/#at-media" rel="help"> - <meta content="Whitespace after the MEDIA_SYM token is optional (S*)." name="assert"> - <style> - @media{ body { background: lime; color: black; } } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-media-whitespace-optional-002.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-media-whitespace-optional-002.htm deleted file mode 100644 index a104f4a80e7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-media-whitespace-optional-002.htm +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test: DESCRIPTION OF TEST</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron"> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation"> - <link href="reference/background-lime.htm" rel="match"> - <link href="http://www.w3.org/TR/css3-conditional/#at-media" rel="help"> - <meta content="Whitespace after the MEDIA_SYM token is optional (S*)." name="assert"> - <style> - @media(min-width:0px){ body { background: lime; color: black; } } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-001.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-001.htm deleted file mode 100644 index 2d8e8e1d97d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-001.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Support for simple passing conditions in @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0) { - div { background-color:green; } - } - </style> -</head> -<body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div> - </div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-002.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-002.htm deleted file mode 100644 index 0df7ec2b3db..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-002.htm +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Support for @supports within @media</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @media all { - @supports (margin: 0) { - div { background-color:green; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-003.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-003.htm deleted file mode 100644 index d7b70f6a41c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-003.htm +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Support for @media within @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0) { - @media all{ - div { background-color:green; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-004.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-004.htm deleted file mode 100644 index 3ed7ad509ec..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-004.htm +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): @supports within non-matching @media should not apply</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @media not all { - @supports (margin: 0) { - div { background-color:red; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-005.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-005.htm deleted file mode 100644 index e7c2df6c5a7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-005.htm +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): non-matching @media within @supports should not apply</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports (margin: 0) { - @media not all { - div { background-color:red; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-006.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-006.htm deleted file mode 100644 index fe121b8e0ef..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-006.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Nested parens around conditions in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-007.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-007.htm deleted file mode 100644 index e6353d004ec..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-007.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Conjunctions of passing simple conditions in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) and (display:inline-block !important)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-008.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-008.htm deleted file mode 100644 index d38d023efc2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-008.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Disjunctions with at least a passing simple condition in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) or (foo: 15em)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-009.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-009.htm deleted file mode 100644 index bf0dd19a9c5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-009.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Negations of failing simple conditions in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (not (yadayada: x, calc( 2/3 ))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-010.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-010.htm deleted file mode 100644 index 96ceb6f181c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-010.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((yada: 2kg !trivial) or ((not (foo:bar)) and (((visibility:hidden))))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-011.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-011.htm deleted file mode 100644 index 30877df5403..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-011.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Conditions not enclosed in parens in @supports should not work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports margin: 0 { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-012.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-012.htm deleted file mode 100644 index 7379c545189..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-012.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Conjunctions with more than two terms in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) and (background: blue) and (padding:inherit)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-013.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-013.htm deleted file mode 100644 index daba96d8d9b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-013.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Disjunction with more than two terms in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((yoyo: yaya) or (margin: 0) or (answer: 42)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-014.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-014.htm deleted file mode 100644 index c8ca162cda5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-014.htm +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Negations in @supports should not work if "not" isn't follow by a space</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (width: 0) { - div { background-color:green; } - } - @supports not(foo: baz) { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-015.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-015.htm deleted file mode 100644 index 2c7bd5584f6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-015.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (not (foo: baz !unrelated $ ,/[&])) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-016.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-016.htm deleted file mode 100644 index 144e63e396a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-016.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): In @supports, parens are required to mix conjunctions with disjunctions</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div{ - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports ((margin: 0) and (display: inline) or (width:1em)) { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-017.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-017.htm deleted file mode 100644 index 75c57d3cce9..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-017.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): In @supports, functions can be parsed successfully</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background:red; - height:100px; - width:100px; - } - @supports (background: url("http://www.example.com/foo.jpg")) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-018.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-018.htm deleted file mode 100644 index 2c776b386ef..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-018.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): In @supports conditions, the arguments of a function can begin with spaces</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="" name="flags"> - <style> - div { - background:red; - height:100px; - width:100px; - } - @supports (not (width:compute( 2px + 2px ))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-019.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-019.htm deleted file mode 100644 index bd28c5d04d8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-019.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: ) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-020.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-020.htm deleted file mode 100644 index a49a0ef6d80..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-020.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 2px) ) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-021.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-021.htm deleted file mode 100644 index 7a583581843..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-021.htm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0 ); - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-022.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-022.htm deleted file mode 100644 index 8dfcafde75f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-022.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports [margin: 0] { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-023.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-023.htm deleted file mode 100644 index 5d329d0e356..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-023.htm +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in nested @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @media all { - @supports (width: 0)) {} - @supports (margin:0) { div { background-color:green !important; } } - } - div { background-color:red; } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-024.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-024.htm deleted file mode 100644 index c842ae3505c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-024.htm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-025.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-025.htm deleted file mode 100644 index d21fe6a87cf..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-025.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin:0) and [padding:0]) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-026.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-026.htm deleted file mode 100644 index a430254e1d5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-026.htm +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0]) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-027.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-027.htm deleted file mode 100644 index fb04b0e6269..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-027.htm +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-027-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - @supports (margin:0) { div { background-color:green; } } - div { - height:100px; - width:100px; - } - @supports (margin: 0) - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-028.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-028.htm deleted file mode 100644 index 21156e32a8a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-028.htm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0)) {} - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-029.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-029.htm deleted file mode 100644 index 992345df0a0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-029.htm +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-027-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - @supports (margin:0) { div { background-color:green; } } - div { - height:100px; - width:100px; - } - @supports (margin: 0) ! - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-030.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-030.htm deleted file mode 100644 index 21e36032f67..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-030.htm +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports ((margin: 0) and ; - div { background-color:red; } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-031.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-031.htm deleted file mode 100644 index 562e4c5175d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-031.htm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0)) ; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-032.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-032.htm deleted file mode 100644 index 7496f3b7323..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-032.htm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports {} - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-033.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-033.htm deleted file mode 100644 index aceedb5135a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-033.htm +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-034.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-034.htm deleted file mode 100644 index d81588977e0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-034.htm +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert"> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0 or padding: 0) { div {background-color: red !important;} } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-035.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-035.htm deleted file mode 100644 index c0fdb634d54..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-035.htm +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert"> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0 or padding: 0) { div {background-color: red;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-036.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-036.htm deleted file mode 100644 index a4f5e4a8153..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-036.htm +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert"> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0 and padding: 0) - { - div {background-color: red !important;} - } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-037.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-037.htm deleted file mode 100644 index f0946ce8f43..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-037.htm +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert"> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0 and padding: 0) { div {background-color: red;} } - - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-038.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-038.htm deleted file mode 100644 index c74e4013641..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-038.htm +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <meta content="Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se." name="assert"> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0;) { div {background-color: red !important;} } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-039.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-039.htm deleted file mode 100644 index 252d91d4d25..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/at-supports-039.htm +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot"> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule"> - <link href="reference/at-supports-001-ref.htm" rel="match"> - <meta content="invalid" name="flags"> - <meta content="Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se." name="assert"> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0;) { div {background-color: red;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-1.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-1.htm deleted file mode 100644 index 69c5a724fec..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-1.htm +++ /dev/null @@ -1,57 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Introduction - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Introduction (0 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#introduction">1 Introduction</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#context">1.1 Background</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#placement">1.2 Module Interactions</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conventions">1.3 Document Conventions</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-2.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-2.htm deleted file mode 100644 index 32a9f9c2b10..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-2.htm +++ /dev/null @@ -1,42 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Processing of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Processing of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#processing">2 Processing of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s2.#conditional-group-rules"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-3.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-3.htm deleted file mode 100644 index 6d74deb9165..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-3.htm +++ /dev/null @@ -1,48 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Contents of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Contents of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#contents-of">3 Contents of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#group-rule-body"> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#group_rule_body"> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#nested_statement"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-4.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-4.htm deleted file mode 100644 index 5c64cb3171d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-4.htm +++ /dev/null @@ -1,39 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Placement of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Placement of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#use">4 Placement of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-5.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-5.htm deleted file mode 100644 index f2be236dcd1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-5.htm +++ /dev/null @@ -1,89 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Media-specific style sheets: the ‘@media’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Media-specific style sheets: the ‘@media’ rule (4 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#at-media">5 Media-specific style sheets: the ‘@media’ rule</a></th></tr> - <!-- 4 tests --> - <tr id="at-media-whitespace-optional-001-5" class=""> - <td> - <a href="at-media-whitespace-optional-001.htm">at-media-whitespace-optional-001</a></td> - <td><a href="reference/background-lime.htm">=</a> </td> - <td></td> - <td>DESCRIPTION OF TEST - <ul class="assert"> - <li>Whitespace after the MEDIA_SYM token is optional (S*).</li> - </ul> - </td> - </tr> - <tr id="at-media-whitespace-optional-002-5" class=""> - <td> - <a href="at-media-whitespace-optional-002.htm">at-media-whitespace-optional-002</a></td> - <td><a href="reference/background-lime.htm">=</a> </td> - <td></td> - <td>DESCRIPTION OF TEST - <ul class="assert"> - <li>Whitespace after the MEDIA_SYM token is optional (S*).</li> - </ul> - </td> - </tr> - <tr id="css-supports-026-5" class=""> - <td> - <a href="css-supports-026.htm">css-supports-026</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-046-5" class=""> - <td> - <a href="css-supports-046.htm">css-supports-046</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s5.#atmedia-rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s5.#media"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-6.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-6.htm deleted file mode 100644 index 722ee1eaa52..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-6.htm +++ /dev/null @@ -1,903 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Feature queries: the ‘@supports’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Feature queries: the ‘@supports’ rule (84 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s6"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s6">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#at-supports">6 Feature queries: the ‘@supports’ rule</a></th></tr> - <!-- 84 tests --> - <tr id="001-6" class="script"> - <td> - <a href="001.htm">001</a></td> - <td></td> - <td><abbr class="script" title="Executes tests in script">Script</abbr></td> - <td>@supports rules OM support - </td> - </tr> - <tr id="at-supports-001-6" class=""> - <td> - <a href="at-supports-001.htm">at-supports-001</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Support for simple passing conditions in @supports - </td> - </tr> - <tr id="at-supports-002-6" class=""> - <td> - <a href="at-supports-002.htm">at-supports-002</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Support for @supports within @media - </td> - </tr> - <tr id="at-supports-003-6" class=""> - <td> - <a href="at-supports-003.htm">at-supports-003</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Support for @media within @supports - </td> - </tr> - <tr id="at-supports-004-6" class=""> - <td> - <a href="at-supports-004.htm">at-supports-004</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>@supports within non-matching @media should not apply - </td> - </tr> - <tr id="at-supports-005-6" class=""> - <td> - <a href="at-supports-005.htm">at-supports-005</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>non-matching @media within @supports should not apply - </td> - </tr> - <tr id="at-supports-006-6" class=""> - <td> - <a href="at-supports-006.htm">at-supports-006</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Nested parens around conditions in @supports should work - </td> - </tr> - <tr id="at-supports-007-6" class=""> - <td> - <a href="at-supports-007.htm">at-supports-007</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Conjunctions of passing simple conditions in @supports should pass - </td> - </tr> - <tr id="at-supports-008-6" class=""> - <td> - <a href="at-supports-008.htm">at-supports-008</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Disjunctions with at least a passing simple condition in @supports should pass - </td> - </tr> - <tr id="at-supports-009-6" class=""> - <td> - <a href="at-supports-009.htm">at-supports-009</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Negations of failing simple conditions in @supports should pass - </td> - </tr> - <tr id="at-supports-010-6" class=""> - <td> - <a href="at-supports-010.htm">at-supports-010</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work - </td> - </tr> - <tr id="at-supports-011-6" class="invalid"> - <td> - <a href="at-supports-011.htm">at-supports-011</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Conditions not enclosed in parens in @supports should not work - </td> - </tr> - <tr id="at-supports-012-6" class=""> - <td> - <a href="at-supports-012.htm">at-supports-012</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Conjunctions with more than two terms in @supports should work - </td> - </tr> - <tr id="at-supports-013-6" class=""> - <td> - <a href="at-supports-013.htm">at-supports-013</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Disjunction with more than two terms in @supports should work - </td> - </tr> - <tr id="at-supports-014-6" class="invalid"> - <td> - <a href="at-supports-014.htm">at-supports-014</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Negations in @supports should not work if "not" isn't follow by a space - </td> - </tr> - <tr id="at-supports-015-6" class=""> - <td> - <a href="at-supports-015.htm">at-supports-015</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports - </td> - </tr> - <tr id="at-supports-016-6" class="invalid"> - <td> - <a href="at-supports-016.htm">at-supports-016</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>In @supports, parens are required to mix conjunctions with disjunctions - </td> - </tr> - <tr id="at-supports-017-6" class=""> - <td> - <a href="at-supports-017.htm">at-supports-017</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>In @supports, functions can be parsed successfully - </td> - </tr> - <tr id="at-supports-018-6" class=""> - <td> - <a href="at-supports-018.htm">at-supports-018</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td></td> - <td>In @supports conditions, the arguments of a function can begin with spaces - </td> - </tr> - <tr id="at-supports-019-6" class="invalid"> - <td> - <a href="at-supports-019.htm">at-supports-019</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-020-6" class="invalid"> - <td> - <a href="at-supports-020.htm">at-supports-020</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-021-6" class="invalid"> - <td> - <a href="at-supports-021.htm">at-supports-021</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-022-6" class="invalid"> - <td> - <a href="at-supports-022.htm">at-supports-022</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-023-6" class="invalid"> - <td> - <a href="at-supports-023.htm">at-supports-023</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in nested @supports recovers properly - </td> - </tr> - <tr id="at-supports-024-6" class="invalid"> - <td> - <a href="at-supports-024.htm">at-supports-024</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-025-6" class="invalid"> - <td> - <a href="at-supports-025.htm">at-supports-025</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-026-6" class="invalid"> - <td> - <a href="at-supports-026.htm">at-supports-026</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-027-6" class="invalid"> - <td> - <a href="at-supports-027.htm">at-supports-027</a></td> - <td><a href="reference/at-supports-027-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-028-6" class="invalid"> - <td> - <a href="at-supports-028.htm">at-supports-028</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-029-6" class="invalid"> - <td> - <a href="at-supports-029.htm">at-supports-029</a></td> - <td><a href="reference/at-supports-027-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-030-6" class="invalid"> - <td> - <a href="at-supports-030.htm">at-supports-030</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-031-6" class="invalid"> - <td> - <a href="at-supports-031.htm">at-supports-031</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-032-6" class="invalid"> - <td> - <a href="at-supports-032.htm">at-supports-032</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-033-6" class="invalid"> - <td> - <a href="at-supports-033.htm">at-supports-033</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-034-6" class="invalid"> - <td> - <a href="at-supports-034.htm">at-supports-034</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-035-6" class="invalid"> - <td> - <a href="at-supports-035.htm">at-supports-035</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-036-6" class="invalid"> - <td> - <a href="at-supports-036.htm">at-supports-036</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-037-6" class="invalid"> - <td> - <a href="at-supports-037.htm">at-supports-037</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-038-6" class="invalid"> - <td> - <a href="at-supports-038.htm">at-supports-038</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>a supports condition declaration can not end with a semi-colon - <ul class="assert"> - <li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li> - </ul> - </td> - </tr> - <tr id="at-supports-039-6" class="invalid"> - <td> - <a href="at-supports-039.htm">at-supports-039</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>a supports condition declaration can not end with a semi-colon - <ul class="assert"> - <li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li> - </ul> - </td> - </tr> - <tr id="css-supports-001-6" class=""> - <td> - <a href="css-supports-001.htm">css-supports-001</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply.</li> - </ul> - </td> - </tr> - <tr id="css-supports-002-6" class="invalid"> - <td> - <a href="css-supports-002.htm">css-supports-002</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>Property declarations in an @supports rule condition must be surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-003-6" class=""> - <td> - <a href="css-supports-003.htm">css-supports-003</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-004-6" class=""> - <td> - <a href="css-supports-004.htm">css-supports-004</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>Property declarations in an @supports rule can have !important specified.</li> - </ul> - </td> - </tr> - <tr id="css-supports-005-6" class=""> - <td> - <a href="css-supports-005.htm">css-supports-005</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A supported property with an unsupported value must cause the @supports condition to fail.</li> - </ul> - </td> - </tr> - <tr id="css-supports-006-6" class=""> - <td> - <a href="css-supports-006.htm">css-supports-006</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-007-6" class=""> - <td> - <a href="css-supports-007.htm">css-supports-007</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-008-6" class=""> - <td> - <a href="css-supports-008.htm">css-supports-008</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-009-6" class=""> - <td> - <a href="css-supports-009.htm">css-supports-009</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-010-6" class=""> - <td> - <a href="css-supports-010.htm">css-supports-010</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-011-6" class=""> - <td> - <a href="css-supports-011.htm">css-supports-011</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-012-6" class=""> - <td> - <a href="css-supports-012.htm">css-supports-012</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-013-6" class="invalid"> - <td> - <a href="css-supports-013.htm">css-supports-013</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-014-6" class="invalid"> - <td> - <a href="css-supports-014.htm">css-supports-014</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-015-6" class=""> - <td> - <a href="css-supports-015.htm">css-supports-015</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-016-6" class=""> - <td> - <a href="css-supports-016.htm">css-supports-016</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-017-6" class="invalid"> - <td> - <a href="css-supports-017.htm">css-supports-017</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>The sub-condition of a negation in an @supports condition must be in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-018-6" class=""> - <td> - <a href="css-supports-018.htm">css-supports-018</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>The sub-condition of a negation in an @supports condition must be in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-019-6" class="invalid"> - <td> - <a href="css-supports-019.htm">css-supports-019</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-020-6" class=""> - <td> - <a href="css-supports-020.htm">css-supports-020</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>An @supports condition that is a declaration with a supported property name with an unsupported value must fail.</li> - </ul> - </td> - </tr> - <tr id="css-supports-021-6" class=""> - <td> - <a href="css-supports-021.htm">css-supports-021</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property.</li> - </ul> - </td> - </tr> - <tr id="css-supports-022-6" class=""> - <td> - <a href="css-supports-022.htm">css-supports-022</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse even if a declaration has an empty property value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-023-6" class=""> - <td> - <a href="css-supports-023.htm">css-supports-023</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-024-6" class=""> - <td> - <a href="css-supports-024.htm">css-supports-024</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A supported shorthand property declaration must be considered to pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-025-6" class=""> - <td> - <a href="css-supports-025.htm">css-supports-025</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded.</li> - </ul> - </td> - </tr> - <tr id="css-supports-026-6" class=""> - <td> - <a href="css-supports-026.htm">css-supports-026</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-029-6" class=""> - <td> - <a href="css-supports-029.htm">css-supports-029</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-030-6" class=""> - <td> - <a href="css-supports-030.htm">css-supports-030</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-031-6" class=""> - <td> - <a href="css-supports-031.htm">css-supports-031</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-032-6" class=""> - <td> - <a href="css-supports-032.htm">css-supports-032</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax.</li> - </ul> - </td> - </tr> - <tr id="css-supports-033-6" class=""> - <td> - <a href="css-supports-033.htm">css-supports-033</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-034-6" class=""> - <td> - <a href="css-supports-034.htm">css-supports-034</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-035-6" class="invalid"> - <td> - <a href="css-supports-035.htm">css-supports-035</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with unbalanced invalid syntax must fail to parse - <ul class="assert"> - <li>An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-036-6" class=""> - <td> - <a href="css-supports-036.htm">css-supports-036</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule with an unrecognized condition using functional notation must evaluate to false - <ul class="assert"> - <li>An @supports condition with an unrecognized condition using functional notation must evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-037-6" class="invalid"> - <td> - <a href="css-supports-037.htm">css-supports-037</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse - <ul class="assert"> - <li>An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-038-6" class=""> - <td> - <a href="css-supports-038.htm">css-supports-038</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>In an @supports rule "not(" must be parsed as a FUNCTION - <ul class="assert"> - <li>An @supports condition with 'not(' must parse be parsed as a FUNCTION token.</li> - </ul> - </td> - </tr> - <tr id="css-supports-039-6" class="invalid"> - <td> - <a href="css-supports-039.htm">css-supports-039</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>In an @supports rule "or(" must be parsed as a FUNCTION - <ul class="assert"> - <li>An @supports condition with 'or(' must parse be parsed as a FUNCTION token.</li> - </ul> - </td> - </tr> - <tr id="css-supports-040-6" class=""> - <td> - <a href="css-supports-040.htm">css-supports-040</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule condition with empty parentheses should evaluates to false - <ul class="assert"> - <li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-041-6" class=""> - <td> - <a href="css-supports-041.htm">css-supports-041</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule condition with empty parentheses should evaluates to false - <ul class="assert"> - <li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-042-6" class=""> - <td> - <a href="css-supports-042.htm">css-supports-042</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed - <ul class="assert"> - <li>An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-043-6" class=""> - <td> - <a href="css-supports-043.htm">css-supports-043</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule condition with a bogus priority should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with a bogus priority should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-044-6" class=""> - <td> - <a href="css-supports-044.htm">css-supports-044</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule condition with tokens after the priority should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with tokens after the priority should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-045-6" class=""> - <td> - <a href="css-supports-045.htm">css-supports-045</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>An @supports rule condition with two priorities should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with two priorities should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-046-6" class=""> - <td> - <a href="css-supports-046.htm">css-supports-046</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s6.#atsupports-rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#general_enclosed"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#or"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_condition"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_condition_in_parens"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_conjunction"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_declaration_condition"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_disjunction"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_negation"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_sym"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s6.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#support-definition">6.1 Definition of support</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s6.1.#dfn-support"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-7.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-7.htm deleted file mode 100644 index 506a2848b11..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-7.htm +++ /dev/null @@ -1,101 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>APIs - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>APIs (1 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s7"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#apis">7 APIs</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#extentions-to-cssrule-interface">7.1 Extensions to the CSSRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface">7.2 The CSSGroupingRule interface</a></th></tr> - <!-- 1 tests --> - <tr id="test_group_insertrule-7.2" class="script"> - <td> - <a href="test_group_insertRule.htm">test_group_insertrule</a></td> - <td></td> - <td><abbr class="script" title="Executes tests in script">Script</abbr></td> - <td>CSS Variables Allowed Syntax - <ul class="assert"> - <li>requirements in definition of insertRule</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s7.2.#cssgroupingrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssconditionrule-interface">7.3 The CSSConditionRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.3.#cssconditionrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssmediarule-interface">7.4 The CSSMediaRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.4.#cssmediarule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-csssupportsrule-interface">7.5 The CSSSupportsRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.5.#csssupportsrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.6"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.6">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-css-interface">7.6 The CSS interface, and the supports() function</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.6.#CSS-interface"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-8.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-8.htm deleted file mode 100644 index 2a77d0a68d0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-8.htm +++ /dev/null @@ -1,78 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Conformance - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Conformance (0 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s8"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conformance">8 Conformance</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#base-modules">8.1 Base Modules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conformance-classes">8.2 Conformance Classes</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-authoring-tool"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-processor"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-style-sheet"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#partial">8.3 Partial Implementations</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#experimental">8.4 Experimental Implementations</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#cr-exit-criteria">8.5 CR Exit Criteria</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-9.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-9.htm deleted file mode 100644 index b5c5599a765..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/chapter-9.htm +++ /dev/null @@ -1,90 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>Changes - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Changes (0 tests)</h2> - <table width="100%"> - <col id="test-column"> - <col id="refs-column"> - <col id="flags-column"> - <col id="info-column"> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s9"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s9">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#changes">9 Changes</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s.#abstract"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#acknowledgments"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#contents"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#grammar"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#index"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#longstatus-date"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#references"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#status"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS21"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS3-ANIMATIONS"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS3-FONTS"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#MEDIAQ"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#RFC2119"> - <!-- 0 tests --> - </tbody> - <tbody id="sother-references.#CSS1"> - <!-- 0 tests --> - </tbody> - <tbody id="sother-references.#CSS3-TRANSITIONS"> - <!-- 0 tests --> - </tbody> - <tbody id="sreferences.#normative-references"> - <!-- 0 tests --> - </tbody> - <tbody id="sreferences.#other-references"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-001.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-001.htm deleted file mode 100644 index 3762f596276..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-001.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-002.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-002.htm deleted file mode 100644 index 5fdc833f673..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-002.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="Property declarations in an @supports rule condition must be surrounded by parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports color: green { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-003.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-003.htm deleted file mode 100644 index 44b9c1330ef..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-003.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports ((color: green)) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-004.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-004.htm deleted file mode 100644 index 443cf6aab17..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-004.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="Property declarations in an @supports rule can have !important specified."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: green !important) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-005.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-005.htm deleted file mode 100644 index fa55d848118..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-005.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A supported property with an unsupported value must cause the @supports condition to fail."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: rainbow) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-006.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-006.htm deleted file mode 100644 index 4c0996fbb39..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-006.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: rainbow) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-007.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-007.htm deleted file mode 100644 index 1014d8552c6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-007.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: green) or (color: rainbow) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-008.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-008.htm deleted file mode 100644 index 364535be1ad..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-008.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: green) and (color: blue) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-009.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-009.htm deleted file mode 100644 index 5d8932b1dce..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-009.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: rainbow) and (color: blue) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-010.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-010.htm deleted file mode 100644 index de0b4335660..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-010.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: blue) and (color: rainbow) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-011.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-011.htm deleted file mode 100644 index fe26be1fad6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-011.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: rainbow) or (color: iridescent) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-012.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-012.htm deleted file mode 100644 index 5a4d11b62e2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-012.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: red) and (color: green) and (color: blue) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-013.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-013.htm deleted file mode 100644 index 110ccc21dc3..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-013.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: green) and (color: green) or (color: green) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-014.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-014.htm deleted file mode 100644 index 4a366170bd6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-014.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: green) or (color: green) and (color: green) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-015.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-015.htm deleted file mode 100644 index 9ea7eceb708..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-015.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports(color:green){ - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-016.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-016.htm deleted file mode 100644 index 6df2741640d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-016.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports not (color: rainbow) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-017.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-017.htm deleted file mode 100644 index e5630491b40..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-017.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports not not (color: green) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-018.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-018.htm deleted file mode 100644 index 80dfc3bfd5f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-018.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports not (not (color: green)) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-019.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-019.htm deleted file mode 100644 index ec47e6f5877..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-019.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports not (color: rainbow) and not (color: iridescent) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-020.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-020.htm deleted file mode 100644 index f6dafe3a651..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-020.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition that is a declaration with a supported property name with an unsupported value must fail."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (unknown: green) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-021.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-021.htm deleted file mode 100644 index 3de150ab724..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-021.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (unknown: green) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-022.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-022.htm deleted file mode 100644 index 6670f803dfd..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-022.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition must successfully parse even if a declaration has an empty property value."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports (unknown:) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-023.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-023.htm deleted file mode 100644 index 34166ac6ae2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-023.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports (unknown) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-024.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-024.htm deleted file mode 100644 index 87f95f95bed..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-024.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A supported shorthand property declaration must be considered to pass."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (font: 16px serif) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-025.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-025.htm deleted file mode 100644 index 6945538bc35..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-025.htm +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: green) { - @supports (color: blue) { - html { background-color: green } - } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-026.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-026.htm deleted file mode 100644 index b59134af407..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-026.htm +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media"> - <meta name="flags" content=""> - <meta name="assert" content="An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports (color: green) { - @media all { - html { background-color: green } - } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-029.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-029.htm deleted file mode 100644 index 08ca7af7975..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-029.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports not (color: rainbow) or (color: green) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-030.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-030.htm deleted file mode 100644 index 072f3e9c213..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-030.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (not (color: rainbow) or (color: green)) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-031.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-031.htm deleted file mode 100644 index 50974dfb304..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-031.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports (color:) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-032.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-032.htm deleted file mode 100644 index 16d0962d972..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-032.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports not (@page) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-033.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-033.htm deleted file mode 100644 index 1d635a4ae1a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-033.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports not ({ something @with [ balanced ] parens }) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-034.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-034.htm deleted file mode 100644 index 1d635a4ae1a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-034.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports not ({ something @with [ balanced ] parens }) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-035.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-035.htm deleted file mode 100644 index 51aa46a2cc3..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-035.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with unbalanced invalid syntax must fail to parse</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports not ({ something @with (unbalanced parens }) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-036.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-036.htm deleted file mode 100644 index 643e67cdace..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-036.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with an unrecognized condition using functional notation must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition with an unrecognized condition using functional notation must evaluate to false."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red } - @supports an-extension(of some kind) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-037.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-037.htm deleted file mode 100644 index c0396b24beb..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-037.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: green) or an-extension(that is [unbalanced) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-038.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-038.htm deleted file mode 100644 index b52d733fab2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-038.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: In an @supports rule "not(" must be parsed as a FUNCTION</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports condition with 'not(' must parse be parsed as a FUNCTION token."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports not(unknown: unknown) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-039.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-039.htm deleted file mode 100644 index 96aad0e907f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-039.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: In an @supports rule "or(" must be parsed as a FUNCTION</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content="invalid"> - <meta name="assert" content="An @supports condition with 'or(' must parse be parsed as a FUNCTION token."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: green } - @supports (color: green) or(color: blue) { - html { background-color: red } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-040.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-040.htm deleted file mode 100644 index 031fd79c22f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-040.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule condition with empty parentheses should evaluates to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition that consists just of a pair of parentheses should evaluate to false."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports not () { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-041.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-041.htm deleted file mode 100644 index 00c0ffc8cb7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-041.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule condition with empty parentheses should evaluates to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition that consists just of a pair of parentheses should evaluate to false."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports () or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-042.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-042.htm deleted file mode 100644 index 603179258d1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-042.htm +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @supports ((color: green) bad) or (color: green) { - html { background-color: green } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-043.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-043.htm deleted file mode 100644 index 18c0969d657..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-043.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule condition with a bogus priority should evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition with a bogus priority should evaluate to false"> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red; } - @supports not (color: green !bogus) { - html { background-color: green; } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-044.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-044.htm deleted file mode 100644 index 1424c704069..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-044.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule condition with tokens after the priority should evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition with tokens after the priority should evaluate to false"> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red; } - @supports not (color: green !important green) { - html { background-color: green; } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-045.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-045.htm deleted file mode 100644 index 063b6174bd1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-045.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: An @supports rule condition with two priorities should evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <meta name="flags" content=""> - <meta name="assert" content="An @supports rule condition with two priorities should evaluate to false"> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - html { background-color: red; } - @supports not (color: green !important !important) { - html { background-color: green; } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-046.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-046.htm deleted file mode 100644 index 4162d60d126..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/css-supports-046.htm +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <link rel="author" title="L. David Baron" href="mailto:dbaron@dbaron.org"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media"> - <meta name="flags" content=""> - <meta name="assert" content="An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass."> - <link rel="match" href="support/pass.htm"> - <style type="text/css"> - @media all { - @supports (color: green) { - html { background-color: green } - } - } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/at-supports-001-ref.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/reference/at-supports-001-ref.htm deleted file mode 100644 index 34685626e79..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/at-supports-001-ref.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Reftest Reference</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <style> - div { - background-color:green; - height:100px; - width:100px; - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/at-supports-027-ref.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/reference/at-supports-027-ref.htm deleted file mode 100644 index 4a098598a09..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/at-supports-027-ref.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Reftest Reference</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal"> - <link href="http://opera.com" rel="author" title="Opera Software ASA"> - <style> - div { - background-color:green; - height:100px; - width:100px; - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/background-lime.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/reference/background-lime.htm deleted file mode 100644 index 96d901347bb..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/background-lime.htm +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Test Reference</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron"> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation"> - <style> - body { background: lime; color: black; } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/support/pass.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/reference/support/pass.htm deleted file mode 100644 index c2ad63be975..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/support/pass.htm +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Reftest Reference</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <style type="text/css"> - html { background-color: green } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/support/pass.xht b/tests/wpt/css-tests/css-conditional-3_dev/html/reference/support/pass.xht deleted file mode 100644 index 6f448e06a60..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reference/support/pass.xht +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>CSS Reftest Reference</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" /> - <style type="text/css"><![CDATA[ - html { background-color: green } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reftest-toc.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/reftest-toc.htm deleted file mode 100644 index cffc14301b2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reftest-toc.htm +++ /dev/null @@ -1,710 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite Reftest Index</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite Reftest Index</h1> - <table width="100%"> - <col id="test-column"> - <col id="ref-column"> - <col id="flags-column"> - <thead> - <tr> - <th>Test</th> - <th>Reference</th> - <th>Flags</th> - </tr> - </thead> - <tbody id="at-media-whitespace-optional-001" class=""> - <tr> - <td rowspan="1" title="DESCRIPTION OF TEST"> - <a href="at-media-whitespace-optional-001.htm">at-media-whitespace-optional-001</a></td> - <td><a href="reference/background-lime.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-media-whitespace-optional-002" class=""> - <tr> - <td rowspan="1" title="DESCRIPTION OF TEST"> - <a href="at-media-whitespace-optional-002.htm">at-media-whitespace-optional-002</a></td> - <td><a href="reference/background-lime.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-001" class=""> - <tr> - <td rowspan="1" title="Support for simple passing conditions in @supports"> - <a href="at-supports-001.htm">at-supports-001</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-002" class=""> - <tr> - <td rowspan="1" title="Support for @supports within @media"> - <a href="at-supports-002.htm">at-supports-002</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-003" class=""> - <tr> - <td rowspan="1" title="Support for @media within @supports"> - <a href="at-supports-003.htm">at-supports-003</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-004" class=""> - <tr> - <td rowspan="1" title="@supports within non-matching @media should not apply"> - <a href="at-supports-004.htm">at-supports-004</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-005" class=""> - <tr> - <td rowspan="1" title="non-matching @media within @supports should not apply"> - <a href="at-supports-005.htm">at-supports-005</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-006" class=""> - <tr> - <td rowspan="1" title="Nested parens around conditions in @supports should work"> - <a href="at-supports-006.htm">at-supports-006</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-007" class=""> - <tr> - <td rowspan="1" title="Conjunctions of passing simple conditions in @supports should pass"> - <a href="at-supports-007.htm">at-supports-007</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-008" class=""> - <tr> - <td rowspan="1" title="Disjunctions with at least a passing simple condition in @supports should pass"> - <a href="at-supports-008.htm">at-supports-008</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-009" class=""> - <tr> - <td rowspan="1" title="Negations of failing simple conditions in @supports should pass"> - <a href="at-supports-009.htm">at-supports-009</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-010" class=""> - <tr> - <td rowspan="1" title="Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work"> - <a href="at-supports-010.htm">at-supports-010</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-011" class="invalid"> - <tr> - <td rowspan="1" title="Conditions not enclosed in parens in @supports should not work"> - <a href="at-supports-011.htm">at-supports-011</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-012" class=""> - <tr> - <td rowspan="1" title="Conjunctions with more than two terms in @supports should work"> - <a href="at-supports-012.htm">at-supports-012</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-013" class=""> - <tr> - <td rowspan="1" title="Disjunction with more than two terms in @supports should work"> - <a href="at-supports-013.htm">at-supports-013</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-014" class="invalid"> - <tr> - <td rowspan="1" title="Negations in @supports should not work if "not" isn't follow by a space"> - <a href="at-supports-014.htm">at-supports-014</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-015" class=""> - <tr> - <td rowspan="1" title="Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports"> - <a href="at-supports-015.htm">at-supports-015</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-016" class="invalid"> - <tr> - <td rowspan="1" title="In @supports, parens are required to mix conjunctions with disjunctions"> - <a href="at-supports-016.htm">at-supports-016</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-017" class=""> - <tr> - <td rowspan="1" title="In @supports, functions can be parsed successfully"> - <a href="at-supports-017.htm">at-supports-017</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-018" class=""> - <tr> - <td rowspan="1" title="In @supports conditions, the arguments of a function can begin with spaces"> - <a href="at-supports-018.htm">at-supports-018</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-019" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-019.htm">at-supports-019</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-020" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-020.htm">at-supports-020</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-021" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-021.htm">at-supports-021</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-022" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-022.htm">at-supports-022</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-023" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in nested @supports recovers properly"> - <a href="at-supports-023.htm">at-supports-023</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-024" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-024.htm">at-supports-024</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-025" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-025.htm">at-supports-025</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-026" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-026.htm">at-supports-026</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-027" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-027.htm">at-supports-027</a></td> - <td><a href="reference/at-supports-027-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-028" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-028.htm">at-supports-028</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-029" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-029.htm">at-supports-029</a></td> - <td><a href="reference/at-supports-027-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-030" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-030.htm">at-supports-030</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-031" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-031.htm">at-supports-031</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-032" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-032.htm">at-supports-032</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-033" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-033.htm">at-supports-033</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-034" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-034.htm">at-supports-034</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-035" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-035.htm">at-supports-035</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-036" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-036.htm">at-supports-036</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-037" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-037.htm">at-supports-037</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-038" class="invalid"> - <tr> - <td rowspan="1" title="a supports condition declaration can not end with a semi-colon"> - <a href="at-supports-038.htm">at-supports-038</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-039" class="invalid"> - <tr> - <td rowspan="1" title="a supports condition declaration can not end with a semi-colon"> - <a href="at-supports-039.htm">at-supports-039</a></td> - <td><a href="reference/at-supports-001-ref.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-001" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-001.htm">css-supports-001</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-002" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-002.htm">css-supports-002</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-003" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-003.htm">css-supports-003</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-004" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-004.htm">css-supports-004</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-005" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-005.htm">css-supports-005</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-006" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-006.htm">css-supports-006</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-007" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-007.htm">css-supports-007</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-008" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-008.htm">css-supports-008</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-009" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-009.htm">css-supports-009</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-010" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-010.htm">css-supports-010</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-011" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-011.htm">css-supports-011</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-012" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-012.htm">css-supports-012</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-013" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-013.htm">css-supports-013</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-014" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-014.htm">css-supports-014</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-015" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-015.htm">css-supports-015</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-016" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-016.htm">css-supports-016</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-017" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-017.htm">css-supports-017</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-018" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-018.htm">css-supports-018</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-019" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-019.htm">css-supports-019</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-020" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-020.htm">css-supports-020</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-021" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-021.htm">css-supports-021</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-022" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-022.htm">css-supports-022</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-023" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-023.htm">css-supports-023</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-024" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-024.htm">css-supports-024</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-025" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-025.htm">css-supports-025</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-026" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-026.htm">css-supports-026</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-029" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-029.htm">css-supports-029</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-030" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-030.htm">css-supports-030</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-031" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-031.htm">css-supports-031</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-032" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-032.htm">css-supports-032</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-033" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-033.htm">css-supports-033</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-034" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-034.htm">css-supports-034</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-035" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with unbalanced invalid syntax must fail to parse"> - <a href="css-supports-035.htm">css-supports-035</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-036" class=""> - <tr> - <td rowspan="1" title="An @supports rule with an unrecognized condition using functional notation must evaluate to false"> - <a href="css-supports-036.htm">css-supports-036</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-037" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse"> - <a href="css-supports-037.htm">css-supports-037</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-038" class=""> - <tr> - <td rowspan="1" title="In an @supports rule "not(" must be parsed as a FUNCTION"> - <a href="css-supports-038.htm">css-supports-038</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-039" class="invalid"> - <tr> - <td rowspan="1" title="In an @supports rule "or(" must be parsed as a FUNCTION"> - <a href="css-supports-039.htm">css-supports-039</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-040" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with empty parentheses should evaluates to false"> - <a href="css-supports-040.htm">css-supports-040</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-041" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with empty parentheses should evaluates to false"> - <a href="css-supports-041.htm">css-supports-041</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-042" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed"> - <a href="css-supports-042.htm">css-supports-042</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-043" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with a bogus priority should evaluate to false"> - <a href="css-supports-043.htm">css-supports-043</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-044" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with tokens after the priority should evaluate to false"> - <a href="css-supports-044.htm">css-supports-044</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-045" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with two priorities should evaluate to false"> - <a href="css-supports-045.htm">css-supports-045</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-046" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-046.htm">css-supports-046</a></td> - <td><a href="support/pass.htm">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - </table> - - </body> -</html> diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/reftest.list b/tests/wpt/css-tests/css-conditional-3_dev/html/reftest.list deleted file mode 100644 index db0e260f08e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/reftest.list +++ /dev/null @@ -1,86 +0,0 @@ - -at-media-whitespace-optional-001.htm == reference/background-lime.htm -at-media-whitespace-optional-002.htm == reference/background-lime.htm -at-supports-001.htm == reference/at-supports-001-ref.htm -at-supports-002.htm == reference/at-supports-001-ref.htm -at-supports-003.htm == reference/at-supports-001-ref.htm -at-supports-004.htm == reference/at-supports-001-ref.htm -at-supports-005.htm == reference/at-supports-001-ref.htm -at-supports-006.htm == reference/at-supports-001-ref.htm -at-supports-007.htm == reference/at-supports-001-ref.htm -at-supports-008.htm == reference/at-supports-001-ref.htm -at-supports-009.htm == reference/at-supports-001-ref.htm -at-supports-010.htm == reference/at-supports-001-ref.htm -at-supports-011.htm == reference/at-supports-001-ref.htm -at-supports-012.htm == reference/at-supports-001-ref.htm -at-supports-013.htm == reference/at-supports-001-ref.htm -at-supports-014.htm == reference/at-supports-001-ref.htm -at-supports-015.htm == reference/at-supports-001-ref.htm -at-supports-016.htm == reference/at-supports-001-ref.htm -at-supports-017.htm == reference/at-supports-001-ref.htm -at-supports-018.htm == reference/at-supports-001-ref.htm -at-supports-019.htm == reference/at-supports-001-ref.htm -at-supports-020.htm == reference/at-supports-001-ref.htm -at-supports-021.htm == reference/at-supports-001-ref.htm -at-supports-022.htm == reference/at-supports-001-ref.htm -at-supports-023.htm == reference/at-supports-001-ref.htm -at-supports-024.htm == reference/at-supports-001-ref.htm -at-supports-025.htm == reference/at-supports-001-ref.htm -at-supports-026.htm == reference/at-supports-001-ref.htm -at-supports-027.htm == reference/at-supports-027-ref.htm -at-supports-028.htm == reference/at-supports-001-ref.htm -at-supports-029.htm == reference/at-supports-027-ref.htm -at-supports-030.htm == reference/at-supports-001-ref.htm -at-supports-031.htm == reference/at-supports-001-ref.htm -at-supports-032.htm == reference/at-supports-001-ref.htm -at-supports-033.htm == reference/at-supports-001-ref.htm -at-supports-034.htm == reference/at-supports-001-ref.htm -at-supports-035.htm == reference/at-supports-001-ref.htm -at-supports-036.htm == reference/at-supports-001-ref.htm -at-supports-037.htm == reference/at-supports-001-ref.htm -at-supports-038.htm == reference/at-supports-001-ref.htm -at-supports-039.htm == reference/at-supports-001-ref.htm -css-supports-001.htm == support/pass.htm -css-supports-002.htm == support/pass.htm -css-supports-003.htm == support/pass.htm -css-supports-004.htm == support/pass.htm -css-supports-005.htm == support/pass.htm -css-supports-006.htm == support/pass.htm -css-supports-007.htm == support/pass.htm -css-supports-008.htm == support/pass.htm -css-supports-009.htm == support/pass.htm -css-supports-010.htm == support/pass.htm -css-supports-011.htm == support/pass.htm -css-supports-012.htm == support/pass.htm -css-supports-013.htm == support/pass.htm -css-supports-014.htm == support/pass.htm -css-supports-015.htm == support/pass.htm -css-supports-016.htm == support/pass.htm -css-supports-017.htm == support/pass.htm -css-supports-018.htm == support/pass.htm -css-supports-019.htm == support/pass.htm -css-supports-020.htm == support/pass.htm -css-supports-021.htm == support/pass.htm -css-supports-022.htm == support/pass.htm -css-supports-023.htm == support/pass.htm -css-supports-024.htm == support/pass.htm -css-supports-025.htm == support/pass.htm -css-supports-026.htm == support/pass.htm -css-supports-029.htm == support/pass.htm -css-supports-030.htm == support/pass.htm -css-supports-031.htm == support/pass.htm -css-supports-032.htm == support/pass.htm -css-supports-033.htm == support/pass.htm -css-supports-034.htm == support/pass.htm -css-supports-035.htm == support/pass.htm -css-supports-036.htm == support/pass.htm -css-supports-037.htm == support/pass.htm -css-supports-038.htm == support/pass.htm -css-supports-039.htm == support/pass.htm -css-supports-040.htm == support/pass.htm -css-supports-041.htm == support/pass.htm -css-supports-042.htm == support/pass.htm -css-supports-043.htm == support/pass.htm -css-supports-044.htm == support/pass.htm -css-supports-045.htm == support/pass.htm -css-supports-046.htm == support/pass.htm diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/support/pass.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/support/pass.htm deleted file mode 100644 index c2ad63be975..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/support/pass.htm +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Reftest Reference</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"> - <style type="text/css"> - html { background-color: green } - </style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/support/pass.xht b/tests/wpt/css-tests/css-conditional-3_dev/html/support/pass.xht deleted file mode 100644 index 6f448e06a60..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/support/pass.xht +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>CSS Reftest Reference</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" /> - <style type="text/css"><![CDATA[ - html { background-color: green } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/test_group_insertRule.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/test_group_insertRule.htm deleted file mode 100644 index d933e4b6586..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/test_group_insertRule.htm +++ /dev/null @@ -1,243 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Variables Allowed Syntax</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron"> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation"> - <link href="http://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface" rel="help"> - <meta content="requirements in definition of insertRule" name="assert"> - <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> -<style id="style"> -@media print {} -</style> -<script id="metadata_cache">/* -{ - "rule_type": {}, - "rule_length": {}, - "insert_import_throws": {}, - "insert_index_throws1": {}, - "insert_index_throws2": {}, - "insert_media_succeed": {}, - "insert_style_succeed": {}, - "insert_bad_media_throw": {}, - "insert_empty_throw": {}, - "insert_garbage_after_media_throw": {}, - "insert_garbage_after_style_throw": {}, - "insert_two_media_throw": {}, - "insert_style_media_throw": {}, - "insert_media_style_throw": {}, - "insert_two_style_throw": {}, - "insert_retval": {} -} -*/</script> -</head> -<body onload="run()"> -<div id="log"></div> -<div id="test"></div> -<script> - - var sheet = document.getElementById("style").sheet; - - var grouping_rule = sheet.cssRules[0]; - - test(function() { - assert_equals(grouping_rule.type, CSSRule.MEDIA_RULE, - "Rule type of @media rule"); - }, - "rule_type"); - - test(function() { - assert_equals(grouping_rule.cssRules.length, 0, - "Starting cssRules.length of @media rule"); - }, - "rule_length"); - - test(function() { - assert_throws("HIERARCHY_REQUEST_ERR", - function() { - grouping_rule.insertRule("@import url(foo.css);", 0); - }, - "inserting a disallowed rule should throw HIERARCHY_REQUEST_ERR"); - }, - "insert_import_throws"); - - test(function() { - assert_throws("INDEX_SIZE_ERR", - function() { - grouping_rule.insertRule("p { color: green }", 1); - }, - "inserting at a bad index throws INDEX_SIZE_ERR"); - }, - "insert_index_throws1"); - test(function() { - grouping_rule.insertRule("p { color: green }", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - grouping_rule.insertRule("p { color: blue }", 1); - assert_equals(grouping_rule.cssRules.length, 2, - "Modified cssRules.length of @media rule"); - grouping_rule.insertRule("p { color: aqua }", 1); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - assert_throws("INDEX_SIZE_ERR", - function() { - grouping_rule.insertRule("p { color: green }", 4); - }, - "inserting at a bad index throws INDEX_SIZE_ERR"); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - }, - "insert_index_throws2"); - - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - grouping_rule.insertRule("@media print {}", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - assert_equals(grouping_rule.cssRules[0].type, CSSRule.MEDIA_RULE, - "inserting syntactically correct media rule succeeds"); - }, - "insert_media_succeed"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - grouping_rule.insertRule("p { color: yellow }", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - assert_equals(grouping_rule.cssRules[0].type, CSSRule.STYLE_RULE, - "inserting syntactically correct style rule succeeds"); - }, - "insert_style_succeed"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media bad syntax;", 0); - }, - "inserting syntactically invalid rule throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_bad_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("", 0); - }, - "inserting empty rule throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_empty_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} foo", 0); - }, - "inserting rule with garbage afterwards throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_garbage_after_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } foo", 0); - }, - "inserting rule with garbage afterwards throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_garbage_after_style_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} @media print {}", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_two_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } @media print {}", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_style_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} p { color: yellow }", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_media_style_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } p { color: yellow }", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_two_style_throw"); - - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - var res = grouping_rule.insertRule("p { color: green }", 0); - assert_equals(res, 0, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - res = grouping_rule.insertRule("p { color: green }", 0); - assert_equals(res, 0, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 2, - "Modified cssRules.length of @media rule"); - res = grouping_rule.insertRule("p { color: green }", 2); - assert_equals(res, 2, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - }, - "insert_retval"); - - -</script> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/html/toc.htm b/tests/wpt/css-tests/css-conditional-3_dev/html/toc.htm deleted file mode 100644 index ffd26ae7d46..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/html/toc.htm +++ /dev/null @@ -1,69 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> -<body> - <h1>CSS Conditional Rules Module Level 3 CR Test Suite By Chapter</h1> - - <p>This index contains both - <a href="http://wiki.csswg.org/test/selftest">self-describing tests</a> - and reftests. - A separate <a href="reftest-toc.htm">alphabetical reftest index</a> - is provided for tests in <a href="http://wiki.csswg.org/test/reftest">reftest - format</a> along with the <a href="reftest.list">reftest manifest</a>.</p> - - <table> - <tbody id="s1"> - <tr><th><a href="chapter-1.htm">Chapter 1 - - Introduction</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s2"> - <tr><th><a href="chapter-2.htm">Chapter 2 - - Processing of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s3"> - <tr><th><a href="chapter-3.htm">Chapter 3 - - Contents of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s4"> - <tr><th><a href="chapter-4.htm">Chapter 4 - - Placement of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s5"> - <tr><th><a href="chapter-5.htm">Chapter 5 - - Media-specific style sheets: the ‘@media’ rule</a></th> - <td>(4 Tests)</td></tr> - </tbody> - <tbody id="s6"> - <tr><th><a href="chapter-6.htm">Chapter 6 - - Feature queries: the ‘@supports’ rule</a></th> - <td>(84 Tests)</td></tr> - </tbody> - <tbody id="s7"> - <tr><th><a href="chapter-7.htm">Chapter 7 - - APIs</a></th> - <td>(1 Tests)</td></tr> - </tbody> - <tbody id="s8"> - <tr><th><a href="chapter-8.htm">Chapter 8 - - Conformance</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s9"> - <tr><th><a href="chapter-9.htm">Chapter 9 - - Changes</a></th> - <td>(0 Tests)</td></tr> - </tbody> - </table> -</body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/implementation-report-TEMPLATE.data b/tests/wpt/css-tests/css-conditional-3_dev/implementation-report-TEMPLATE.data deleted file mode 100644 index 7526fdca154..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/implementation-report-TEMPLATE.data +++ /dev/null @@ -1,179 +0,0 @@ -# UA version OS version -# UA string (if applicable) -# http://test.csswg.org/suites/css-conditional-3_dev/DATESTAMP/ -# See http://wiki.csswg.org/test/implementation-report for instructions -testname revision result comment -html/001.htm 387e60a50a3d993a46f121d3abb2b5aa60bbf623 ? -xhtml1/001.xht 387e60a50a3d993a46f121d3abb2b5aa60bbf623 ? -html/at-media-whitespace-optional-001.htm 43de476ab7894d6c78449a1faea07e8c38dc63ba ? -xhtml1/at-media-whitespace-optional-001.xht 43de476ab7894d6c78449a1faea07e8c38dc63ba ? -html/at-media-whitespace-optional-002.htm c29819ec6fa4119fcc62df96e2839320fe4e7407 ? -xhtml1/at-media-whitespace-optional-002.xht c29819ec6fa4119fcc62df96e2839320fe4e7407 ? -html/at-supports-001.htm b461c0b2d7b695c3459e1ea678e6a9d1c54c93eb ? -xhtml1/at-supports-001.xht b461c0b2d7b695c3459e1ea678e6a9d1c54c93eb ? -html/at-supports-002.htm 8b6e43dfcab26ac1be11fa6afa85be45dc04b5e9 ? -xhtml1/at-supports-002.xht 8b6e43dfcab26ac1be11fa6afa85be45dc04b5e9 ? -html/at-supports-003.htm 9922bdb312340ce133334ec143a74585de6837d3 ? -xhtml1/at-supports-003.xht 9922bdb312340ce133334ec143a74585de6837d3 ? -html/at-supports-004.htm fc56fe5d1a6e959de9e45b5cf3b5fd62514e8ab6 ? -xhtml1/at-supports-004.xht fc56fe5d1a6e959de9e45b5cf3b5fd62514e8ab6 ? -html/at-supports-005.htm b2b5893a998141d0372a66ff6ade853ab389bcfb ? -xhtml1/at-supports-005.xht b2b5893a998141d0372a66ff6ade853ab389bcfb ? -html/at-supports-006.htm b330e5406b4e1608571b7b17a766d307012dd581 ? -xhtml1/at-supports-006.xht b330e5406b4e1608571b7b17a766d307012dd581 ? -html/at-supports-007.htm d9d7f17289f646cded6074b4d8b8ae9c33fd4423 ? -xhtml1/at-supports-007.xht d9d7f17289f646cded6074b4d8b8ae9c33fd4423 ? -html/at-supports-008.htm 84785a62436f90b847ea8b0a87f625fbf77901b0 ? -xhtml1/at-supports-008.xht 84785a62436f90b847ea8b0a87f625fbf77901b0 ? -html/at-supports-009.htm c45c61b879c9d874afb6e6c031788bae90ad971f ? -xhtml1/at-supports-009.xht c45c61b879c9d874afb6e6c031788bae90ad971f ? -html/at-supports-010.htm 36393621357e00f0aead2337ec00ae743620293f ? -xhtml1/at-supports-010.xht 36393621357e00f0aead2337ec00ae743620293f ? -html/at-supports-011.htm 724b9ca3d11ca90af8ee9ed87e063e7ced70d99f ? -xhtml1/at-supports-011.xht 724b9ca3d11ca90af8ee9ed87e063e7ced70d99f ? -html/at-supports-012.htm 5bfb18c97e4940d48136e88a3db9320051e4db96 ? -xhtml1/at-supports-012.xht 5bfb18c97e4940d48136e88a3db9320051e4db96 ? -html/at-supports-013.htm 51af0702d90db971961d083e15a0fbd8e3408d4c ? -xhtml1/at-supports-013.xht 51af0702d90db971961d083e15a0fbd8e3408d4c ? -html/at-supports-014.htm dc622dc843feb04ab0b0364d8daceb6d4cd2b88f ? -xhtml1/at-supports-014.xht dc622dc843feb04ab0b0364d8daceb6d4cd2b88f ? -html/at-supports-015.htm 46830ef480127528228b1df7f6ca82881a2935c7 ? -xhtml1/at-supports-015.xht 46830ef480127528228b1df7f6ca82881a2935c7 ? -html/at-supports-016.htm c00117c16219d5f979f7940d5a3f56d90689459a ? -xhtml1/at-supports-016.xht c00117c16219d5f979f7940d5a3f56d90689459a ? -html/at-supports-017.htm b1a62a86bc5c1a38d1be4b6427d8a5fb648c3bd5 ? -xhtml1/at-supports-017.xht b1a62a86bc5c1a38d1be4b6427d8a5fb648c3bd5 ? -html/at-supports-018.htm b71f1a38f3737095f099e6664da1ea23eb713225 ? -xhtml1/at-supports-018.xht b71f1a38f3737095f099e6664da1ea23eb713225 ? -html/at-supports-019.htm 32d9cc9a5915eae90a48feb10e13f245ccc858d5 ? -xhtml1/at-supports-019.xht 32d9cc9a5915eae90a48feb10e13f245ccc858d5 ? -html/at-supports-020.htm fcb0729d45ffc567f9756e6be2d36c7b47a682da ? -xhtml1/at-supports-020.xht fcb0729d45ffc567f9756e6be2d36c7b47a682da ? -html/at-supports-021.htm 6b04d3c3c0d14b12cee5f289a80f814ba56ac193 ? -xhtml1/at-supports-021.xht 6b04d3c3c0d14b12cee5f289a80f814ba56ac193 ? -html/at-supports-022.htm 9c83d3b91c7ea52606378cc1fa3c7e0d9ee5cb97 ? -xhtml1/at-supports-022.xht 9c83d3b91c7ea52606378cc1fa3c7e0d9ee5cb97 ? -html/at-supports-023.htm cd23c5881ce3db9207aea9fccfe9cba397c09b96 ? -xhtml1/at-supports-023.xht cd23c5881ce3db9207aea9fccfe9cba397c09b96 ? -html/at-supports-024.htm 8018880834dee39f826a1262fc160fb0a7fde9d0 ? -xhtml1/at-supports-024.xht 8018880834dee39f826a1262fc160fb0a7fde9d0 ? -html/at-supports-025.htm 1dd59cb1354b0fcf648a415e5f6be20e7ce3594a ? -xhtml1/at-supports-025.xht 1dd59cb1354b0fcf648a415e5f6be20e7ce3594a ? -html/at-supports-026.htm 07854d783792eca893f1e80e8e3d256319f1b702 ? -xhtml1/at-supports-026.xht 07854d783792eca893f1e80e8e3d256319f1b702 ? -html/at-supports-027.htm ad457c192de9d5f4d6604cb223a070d820c2b604 ? -xhtml1/at-supports-027.xht ad457c192de9d5f4d6604cb223a070d820c2b604 ? -html/at-supports-028.htm b952644db0f913efdc6321f9c14d1287b1998e30 ? -xhtml1/at-supports-028.xht b952644db0f913efdc6321f9c14d1287b1998e30 ? -html/at-supports-029.htm 3d2094308272219cc3e2eff15f6005a9edfae148 ? -xhtml1/at-supports-029.xht 3d2094308272219cc3e2eff15f6005a9edfae148 ? -html/at-supports-030.htm 74a4bc0be68602e9e97512afd19726f467f5fcda ? -xhtml1/at-supports-030.xht 74a4bc0be68602e9e97512afd19726f467f5fcda ? -html/at-supports-031.htm 946ba17fdc10abbe26f2dde5ec6b4db6f21ef5ef ? -xhtml1/at-supports-031.xht 946ba17fdc10abbe26f2dde5ec6b4db6f21ef5ef ? -html/at-supports-032.htm 3ca58122eeae5292b554484dd433137e613a310f ? -xhtml1/at-supports-032.xht 3ca58122eeae5292b554484dd433137e613a310f ? -html/at-supports-033.htm 8d2ee70f60d678ff84bf832955a84ee01c4be51a ? -xhtml1/at-supports-033.xht 8d2ee70f60d678ff84bf832955a84ee01c4be51a ? -html/at-supports-034.htm 05f2d87be51e27ebfbb1ee54e6d2f7e2a23907e8 ? -xhtml1/at-supports-034.xht 05f2d87be51e27ebfbb1ee54e6d2f7e2a23907e8 ? -html/at-supports-035.htm 9911385dd0408bb4a1032912cc8f2bed5b4abed9 ? -xhtml1/at-supports-035.xht 9911385dd0408bb4a1032912cc8f2bed5b4abed9 ? -html/at-supports-036.htm 50b9956080ee43e80705c41d462cc2cd8baeb661 ? -xhtml1/at-supports-036.xht 50b9956080ee43e80705c41d462cc2cd8baeb661 ? -html/at-supports-037.htm 2c4de31a3aa1e2b7b4106c00ad495c7105e5839c ? -xhtml1/at-supports-037.xht 2c4de31a3aa1e2b7b4106c00ad495c7105e5839c ? -html/at-supports-038.htm e4b351139dd52a7479df10d345288b1c0e8bbf9f ? -xhtml1/at-supports-038.xht e4b351139dd52a7479df10d345288b1c0e8bbf9f ? -html/at-supports-039.htm e1f599c1c5167c5e6aba9fa446fc3b6d603631f3 ? -xhtml1/at-supports-039.xht e1f599c1c5167c5e6aba9fa446fc3b6d603631f3 ? -html/css-supports-001.htm 3eb2e352b9a56eb0b25c14593c3158c9a2677c1f ? -xhtml1/css-supports-001.xht 3eb2e352b9a56eb0b25c14593c3158c9a2677c1f ? -html/css-supports-002.htm 1af686f5705d6c604eb1cfab0a39a07d8d1879da ? -xhtml1/css-supports-002.xht 1af686f5705d6c604eb1cfab0a39a07d8d1879da ? -html/css-supports-003.htm dfff4f786fafad5eace0e3a1d3baaaf0cf7d6c9b ? -xhtml1/css-supports-003.xht dfff4f786fafad5eace0e3a1d3baaaf0cf7d6c9b ? -html/css-supports-004.htm 96143965825c01ba768c2690e74256571e8f331f ? -xhtml1/css-supports-004.xht 96143965825c01ba768c2690e74256571e8f331f ? -html/css-supports-005.htm 9bc94d5debc297c07360cf482a19e35284cf1dcd ? -xhtml1/css-supports-005.xht 9bc94d5debc297c07360cf482a19e35284cf1dcd ? -html/css-supports-006.htm 98fe2e9aa5047e9440c5a8fc73fc0e088cfd1ad7 ? -xhtml1/css-supports-006.xht 98fe2e9aa5047e9440c5a8fc73fc0e088cfd1ad7 ? -html/css-supports-007.htm 32a44e02c19d0154b47c02e481fcf09eba36f796 ? -xhtml1/css-supports-007.xht 32a44e02c19d0154b47c02e481fcf09eba36f796 ? -html/css-supports-008.htm 55ec34c11dcfd0cf9346e3fc058240a1572d6443 ? -xhtml1/css-supports-008.xht 55ec34c11dcfd0cf9346e3fc058240a1572d6443 ? -html/css-supports-009.htm 2661f74b9fb308b9ea8b6a4c91c5ce3c34a2ac43 ? -xhtml1/css-supports-009.xht 2661f74b9fb308b9ea8b6a4c91c5ce3c34a2ac43 ? -html/css-supports-010.htm 4c2ed2c887d68b577c95dd16223cf7dc2ee29ae7 ? -xhtml1/css-supports-010.xht 4c2ed2c887d68b577c95dd16223cf7dc2ee29ae7 ? -html/css-supports-011.htm 18ea9af1d7b92c0f205d3b2ed2aa89cc9fd51a36 ? -xhtml1/css-supports-011.xht 18ea9af1d7b92c0f205d3b2ed2aa89cc9fd51a36 ? -html/css-supports-012.htm a7cb7e0c4e91706afa5ea0dc758f7e1c09b1711a ? -xhtml1/css-supports-012.xht a7cb7e0c4e91706afa5ea0dc758f7e1c09b1711a ? -html/css-supports-013.htm 65229373ecc788d970c42c305858ffd6f30c3eb4 ? -xhtml1/css-supports-013.xht 65229373ecc788d970c42c305858ffd6f30c3eb4 ? -html/css-supports-014.htm 17bae11970b70eb0c36526c2c48dcd83ca3fb0b8 ? -xhtml1/css-supports-014.xht 17bae11970b70eb0c36526c2c48dcd83ca3fb0b8 ? -html/css-supports-015.htm 72512fa6728201894311a8d75d748d7d079deb38 ? -xhtml1/css-supports-015.xht 72512fa6728201894311a8d75d748d7d079deb38 ? -html/css-supports-016.htm 4bac6c616008db12d0a6bdcee638930be4604312 ? -xhtml1/css-supports-016.xht 4bac6c616008db12d0a6bdcee638930be4604312 ? -html/css-supports-017.htm 0827b9aa65e0c4ec522523e6a7dca47d3a95d2a1 ? -xhtml1/css-supports-017.xht 0827b9aa65e0c4ec522523e6a7dca47d3a95d2a1 ? -html/css-supports-018.htm 374000322b3dce972af1354665f2810214fbdd7a ? -xhtml1/css-supports-018.xht 374000322b3dce972af1354665f2810214fbdd7a ? -html/css-supports-019.htm b080a6ff49b17fd9cab73d16bfa503596592a06e ? -xhtml1/css-supports-019.xht b080a6ff49b17fd9cab73d16bfa503596592a06e ? -html/css-supports-020.htm d168c01b9dd81ddf24bbb215e904c057a1f4ec66 ? -xhtml1/css-supports-020.xht d168c01b9dd81ddf24bbb215e904c057a1f4ec66 ? -html/css-supports-021.htm b555b6aa0202c09eb4e30ba8910565eee80c8150 ? -xhtml1/css-supports-021.xht b555b6aa0202c09eb4e30ba8910565eee80c8150 ? -html/css-supports-022.htm 59da5ae40f0a3e46c75c8cb4cec3be23b73dcc18 ? -xhtml1/css-supports-022.xht 59da5ae40f0a3e46c75c8cb4cec3be23b73dcc18 ? -html/css-supports-023.htm 2e181eb94038a15c3a8f4d12f349307fd7ad0dc0 ? -xhtml1/css-supports-023.xht 2e181eb94038a15c3a8f4d12f349307fd7ad0dc0 ? -html/css-supports-024.htm 34a775ca053e92a3b953a0cb8e304ccd0db5f715 ? -xhtml1/css-supports-024.xht 34a775ca053e92a3b953a0cb8e304ccd0db5f715 ? -html/css-supports-025.htm e02c5a0fdb8eeb74e01468c7bdf430c288ca38f0 ? -xhtml1/css-supports-025.xht e02c5a0fdb8eeb74e01468c7bdf430c288ca38f0 ? -html/css-supports-026.htm a49475d90957b2ad5e8b9fbd3029833d70093179 ? -xhtml1/css-supports-026.xht a49475d90957b2ad5e8b9fbd3029833d70093179 ? -html/css-supports-029.htm 00239d0b68282a76778f189ff116e4208eda3553 ? -xhtml1/css-supports-029.xht 00239d0b68282a76778f189ff116e4208eda3553 ? -html/css-supports-030.htm 1ba1d98b84af64947ccaaa0ed558332712a04f96 ? -xhtml1/css-supports-030.xht 1ba1d98b84af64947ccaaa0ed558332712a04f96 ? -html/css-supports-031.htm f0dbf3a69c6ad648b2e4144533f73af063a15bf7 ? -xhtml1/css-supports-031.xht f0dbf3a69c6ad648b2e4144533f73af063a15bf7 ? -html/css-supports-032.htm 2d608e20d5f090a1543f15a9e4a419da996bd273 ? -xhtml1/css-supports-032.xht 2d608e20d5f090a1543f15a9e4a419da996bd273 ? -html/css-supports-033.htm 54302e819b3667ab0ac8b0a9488ef77c4ec748e0 ? -xhtml1/css-supports-033.xht 54302e819b3667ab0ac8b0a9488ef77c4ec748e0 ? -html/css-supports-034.htm 54302e819b3667ab0ac8b0a9488ef77c4ec748e0 ? -xhtml1/css-supports-034.xht 54302e819b3667ab0ac8b0a9488ef77c4ec748e0 ? -html/css-supports-035.htm d5dc60a80cff62972faca72f36288ecdeabfede6 ? -xhtml1/css-supports-035.xht d5dc60a80cff62972faca72f36288ecdeabfede6 ? -html/css-supports-036.htm e304888482c69260ef0c9ab30bacc22bc94573c3 ? -xhtml1/css-supports-036.xht e304888482c69260ef0c9ab30bacc22bc94573c3 ? -html/css-supports-037.htm 567f4880553fd1a39b1f8e20551c9f512a410dcd ? -xhtml1/css-supports-037.xht 567f4880553fd1a39b1f8e20551c9f512a410dcd ? -html/css-supports-038.htm 68384360517b0677216e1523195e2ca4f75e30a1 ? -xhtml1/css-supports-038.xht 68384360517b0677216e1523195e2ca4f75e30a1 ? -html/css-supports-039.htm df5f61cf1471c268d323c25a61c4ede93aa1e1cf ? -xhtml1/css-supports-039.xht df5f61cf1471c268d323c25a61c4ede93aa1e1cf ? -html/css-supports-040.htm 9ee5675e7860e5a4e57fbc5eb25423a9b29b61f2 ? -xhtml1/css-supports-040.xht 9ee5675e7860e5a4e57fbc5eb25423a9b29b61f2 ? -html/css-supports-041.htm eb94fdc2abd43ee9f9e83971f868eda824b1cf90 ? -xhtml1/css-supports-041.xht eb94fdc2abd43ee9f9e83971f868eda824b1cf90 ? -html/css-supports-042.htm 11a35285488667aae60b4939fe10b5decb344f67 ? -xhtml1/css-supports-042.xht 11a35285488667aae60b4939fe10b5decb344f67 ? -html/css-supports-043.htm 52a5e1102115a8b9388824d85cb22681c1a608ea ? -xhtml1/css-supports-043.xht 52a5e1102115a8b9388824d85cb22681c1a608ea ? -html/css-supports-044.htm f9e3fa62cea287a58458609811a0c92617402fda ? -xhtml1/css-supports-044.xht f9e3fa62cea287a58458609811a0c92617402fda ? -html/css-supports-045.htm e0dead62ae685a3010c1a7ffebbfffc334052262 ? -xhtml1/css-supports-045.xht e0dead62ae685a3010c1a7ffebbfffc334052262 ? -html/css-supports-046.htm ff878a784b9acb0dfa2117d954b7b7c0d3a01356 ? -xhtml1/css-supports-046.xht ff878a784b9acb0dfa2117d954b7b7c0d3a01356 ? -html/test_group_insertrule.htm 1ae2a5f80101dcb332b63eb028a2d852e78536c0 ? -xhtml1/test_group_insertrule.xht 1ae2a5f80101dcb332b63eb028a2d852e78536c0 ? diff --git a/tests/wpt/css-tests/css-conditional-3_dev/index.htm b/tests/wpt/css-tests/css-conditional-3_dev/index.htm deleted file mode 100644 index 9ec42d77fff..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/index.htm +++ /dev/null @@ -1,143 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"> -<html lang="en"> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "indices.css"; - </style> - </head> - <body> - - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <dt>Test Coordinator:</dt> - <dd>None Yet</dd> - - <p>This is a <strong>Development</strong> - version of the CSS Conditional Rules Module Level 3 CR Test Suite.</p> - - <p>You can provide test data or review the testing results for this test suite:</p> - <dt><a href="http://test.csswg.org/harness/suite/css-conditional-3_dev">Enter Data</a></dt> - <dt><a href="http://test.csswg.org/harness/review/css-conditional-3_dev">Review Results</a></dt> - - - <p>Some tests in the test suite may contain errors. - Please check the latest version of the - <a href="https://www.w3.org/TR/css3-conditional/">CSS Conditional 3 specification</a> - <strong>and its errata</strong> - before assuming a failure is due to an implementation bug and - not a test suite bug.</p> - - - <p> - In time we hope to correct all errors and extend this test suite to - cover all of CSS Conditional 3. Your help is welcome in this effort. - The appropriate mailing list for submitting tests and bug reports is - <a href="http://lists.w3.org/Archives/Public/public-css-testsuite/">public-css-testsuite@w3.org</a>. - More information on the contribution process and test guidelines is - available on the <a href="http://wiki.csswg.org/test">wiki - page</a>.</p> - - <p>Tests are currently available in these formats:</p> - - <dl> - <dt><a href="html/toc.htm">HTML 5</a></dt> - <dd>HTML 5 tests sent as <code>text/html</code></dd> - <dt><a href="xhtml1/toc.xht">XHTML 1.1</a></dt> - <dd>XHTML 1.1 tests sent as <code>application/xhtml+xml</code></dd> - <dt><a href="xhtml1print/toc.xht">XHTML 1.1 for Printers</a></dt> - <dd>XHTML 1.1 tests with all images converted from PNG to JPEG - and formatted with headers and footers to ease testing of - embedded printer software. This is not a canonical format, - and some tests may fail due to the format conversion that - would otherwise pass in the above XHTML 1.1 format.</dd> - </dl> - - - <p>Unless the test instructions explicitly indicate otherwise, - any occurrence of red in a test indicates test failure.</p> - -<h2 id="implement">Implementation Reports</h2> - <p>An <a href="implementation-report-TEMPLATE.data">implementation report template</a> - is available to help with creating implementation reports. See also the - <a href="http://lists.w3.org/Archives/Public/public-css-testsuite/2010Aug/0020.html">explanation</a> - of its format.</p> - -<h2 id="common">Common Assumptions</h2> - - <p>Most of the test suite makes the following assumptions:</p> - <ul> - <li>The X/HTML <code>div</code> element is assigned <code>display: block;</code> - and no other property declaration.</li> - <li>The X/HTML <code>span</code> element is assigned <code>display: inline;</code> - and no other property declaration.</li> - <li>The X/HTML <code>p</code> element is assigned <code>display: block;</code></li> - <li>The X/HTML <code>li</code> element is assigned <code>display: list-item;</code></li> - <li>The X/HTML table elements <code>table</code>, <code>tbody</code>, - <code>tr</code>, and <code>td</code> are assigned the <code>display</code> - values <code>table</code>, <code>table-row-group</code>, - <code>table-row</code>, and <code>table-cell</code>, respectively.</li> - <li>The device can display the sixteen color values associated with the color - keywords <code>black</code>, <code>white</code>, <code>gray</code>, - <code>silver</code>, <code>red</code>, <code>green</code>, <code>blue</code>, - <code>purple</code>, <code>yellow</code>, <code>orange</code>, <code>teal</code>, - <code>fuchsia</code>, <code>maroon</code>, <code>navy</code>, <code>aqua</code>, - and <code>lime</code> as distinct colors.</li> - <li>The UA is set to print background colors and, if it supports graphics, - background images.</li> - <li>The UA implements reasonable page-breaking behavior; e.g., it is assumed - that UAs will not break at every opportunity, but only near the end of - a page unless a page break is forced.</li> - <li>The UA implements reasonable line-breaking behavior; e.g., it is assumed - that spaces between alphanumeric characters provide line breaking - opportunities and that UAs will not break at every opportunity, but only - near the end of a line unless a line break is forced.</li> - </ul> - -<h2 id="uncommon">Uncommon Assumptions</h2> - - <p>In addition, some of the tests make one or more of the following - assumptions:</p> - - <ul> - <li>The device is a full-color device.</li> - <li>The device has a viewport width of at least 640px (approx).</li> - <li>The resolution of the device is 96 CSS pixels per inch.</li> - <li>The UA imposes no minimum font size.</li> - <li>The 'medium' font-size computes to 16px.</li> - <li>The initial value of 'color' is black.</li> - <li>The canvas background is white.</li> - <li>The user stylesheet is empty (except where indicated by the tests).</li> - <li>The device is interactive and uses scroll bars.</li> - </ul> - - <p>The tests that need these assumptions to be true have not yet been - marked, but it is likely that we will add a way to identify these - tests in due course. Tests should avoid relying on these assumptions - unless necessary.</p> - -<h2>License</h2> - - <p>This test suite is licensed under both the - <a href="http://www.w3.org/Consortium/Legal/2008/04-testsuite-license">W3C - Test Suite License</a> and the <a href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license">W3C - 3-clause BSD License</a>. See W3C Legal's <a href="http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright">explanation - of the licenses</a>.</p> - -<h2>Acknowledgements</h2> - - <p>Many thanks to the following for their contributions:</p> - <ul> - <li>Cameron McCormack</li> - <li>Florian Rivoal</li> - <li>Gérard Talbot</li> - <li>L. David Baron</li> - <li>Mozilla Corporation</li> - <li>Opera Software ASA</li> - </ul> - -</body> -</html> diff --git a/tests/wpt/css-tests/css-conditional-3_dev/index.xht b/tests/wpt/css-tests/css-conditional-3_dev/index.xht deleted file mode 100644 index 31684301879..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/index.xht +++ /dev/null @@ -1,143 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "indices.css"; - </style> - </head> - <body> - - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <dt>Test Coordinator:</dt> - <dd>None Yet</dd> - - <p>This is a <strong>Development</strong> - version of the CSS Conditional Rules Module Level 3 CR Test Suite.</p> - - <p>You can provide test data or review the testing results for this test suite:</p> - <dt><a href="http://test.csswg.org/harness/suite/css-conditional-3_dev">Enter Data</a></dt> - <dt><a href="http://test.csswg.org/harness/review/css-conditional-3_dev">Review Results</a></dt> - - - <p>Some tests in the test suite may contain errors. - Please check the latest version of the - <a href="https://www.w3.org/TR/css3-conditional/">CSS Conditional 3 specification</a> - <strong>and its errata</strong> - before assuming a failure is due to an implementation bug and - not a test suite bug.</p> - - - <p> - In time we hope to correct all errors and extend this test suite to - cover all of CSS Conditional 3. Your help is welcome in this effort. - The appropriate mailing list for submitting tests and bug reports is - <a href="http://lists.w3.org/Archives/Public/public-css-testsuite/">public-css-testsuite@w3.org</a>. - More information on the contribution process and test guidelines is - available on the <a href="http://wiki.csswg.org/test">wiki - page</a>.</p> - - <p>Tests are currently available in these formats:</p> - - <dl> - <dt><a href="html/toc.htm">HTML 5</a></dt> - <dd>HTML 5 tests sent as <code>text/html</code></dd> - <dt><a href="xhtml1/toc.xht">XHTML 1.1</a></dt> - <dd>XHTML 1.1 tests sent as <code>application/xhtml+xml</code></dd> - <dt><a href="xhtml1print/toc.xht">XHTML 1.1 for Printers</a></dt> - <dd>XHTML 1.1 tests with all images converted from PNG to JPEG - and formatted with headers and footers to ease testing of - embedded printer software. This is not a canonical format, - and some tests may fail due to the format conversion that - would otherwise pass in the above XHTML 1.1 format.</dd> - </dl> - - - <p>Unless the test instructions explicitly indicate otherwise, - any occurrence of red in a test indicates test failure.</p> - -<h2 id="implement">Implementation Reports</h2> - <p>An <a href="implementation-report-TEMPLATE.data">implementation report template</a> - is available to help with creating implementation reports. See also the - <a href="http://lists.w3.org/Archives/Public/public-css-testsuite/2010Aug/0020.html">explanation</a> - of its format.</p> - -<h2 id="common">Common Assumptions</h2> - - <p>Most of the test suite makes the following assumptions:</p> - <ul> - <li>The X/HTML <code>div</code> element is assigned <code>display: block;</code> - and no other property declaration.</li> - <li>The X/HTML <code>span</code> element is assigned <code>display: inline;</code> - and no other property declaration.</li> - <li>The X/HTML <code>p</code> element is assigned <code>display: block;</code></li> - <li>The X/HTML <code>li</code> element is assigned <code>display: list-item;</code></li> - <li>The X/HTML table elements <code>table</code>, <code>tbody</code>, - <code>tr</code>, and <code>td</code> are assigned the <code>display</code> - values <code>table</code>, <code>table-row-group</code>, - <code>table-row</code>, and <code>table-cell</code>, respectively.</li> - <li>The device can display the sixteen color values associated with the color - keywords <code>black</code>, <code>white</code>, <code>gray</code>, - <code>silver</code>, <code>red</code>, <code>green</code>, <code>blue</code>, - <code>purple</code>, <code>yellow</code>, <code>orange</code>, <code>teal</code>, - <code>fuchsia</code>, <code>maroon</code>, <code>navy</code>, <code>aqua</code>, - and <code>lime</code> as distinct colors.</li> - <li>The UA is set to print background colors and, if it supports graphics, - background images.</li> - <li>The UA implements reasonable page-breaking behavior; e.g., it is assumed - that UAs will not break at every opportunity, but only near the end of - a page unless a page break is forced.</li> - <li>The UA implements reasonable line-breaking behavior; e.g., it is assumed - that spaces between alphanumeric characters provide line breaking - opportunities and that UAs will not break at every opportunity, but only - near the end of a line unless a line break is forced.</li> - </ul> - -<h2 id="uncommon">Uncommon Assumptions</h2> - - <p>In addition, some of the tests make one or more of the following - assumptions:</p> - - <ul> - <li>The device is a full-color device.</li> - <li>The device has a viewport width of at least 640px (approx).</li> - <li>The resolution of the device is 96 CSS pixels per inch.</li> - <li>The UA imposes no minimum font size.</li> - <li>The 'medium' font-size computes to 16px.</li> - <li>The initial value of 'color' is black.</li> - <li>The canvas background is white.</li> - <li>The user stylesheet is empty (except where indicated by the tests).</li> - <li>The device is interactive and uses scroll bars.</li> - </ul> - - <p>The tests that need these assumptions to be true have not yet been - marked, but it is likely that we will add a way to identify these - tests in due course. Tests should avoid relying on these assumptions - unless necessary.</p> - -<h2>License</h2> - - <p>This test suite is licensed under both the - <a href="http://www.w3.org/Consortium/Legal/2008/04-testsuite-license">W3C - Test Suite License</a> and the <a href="http://www.w3.org/Consortium/Legal/2008/03-bsd-license">W3C - 3-clause BSD License</a>. See W3C Legal's <a href="http://www.w3.org/Consortium/Legal/2008/04-testsuite-copyright">explanation - of the licenses</a>.</p> - -<h2>Acknowledgements</h2> - - <p>Many thanks to the following for their contributions:</p> - <ul> - <li>Cameron McCormack</li> - <li>Florian Rivoal</li> - <li>Gérard Talbot</li> - <li>L. David Baron</li> - <li>Mozilla Corporation</li> - <li>Opera Software ASA</li> - </ul> - -</body> -</html> diff --git a/tests/wpt/css-tests/css-conditional-3_dev/indices.css b/tests/wpt/css-tests/css-conditional-3_dev/indices.css deleted file mode 100644 index 7bc70eeef94..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/indices.css +++ /dev/null @@ -1,96 +0,0 @@ -/* CSS for CSS Conformance Test Indices */ -/* Written by fantasai */ - -/* Test Tables */ - - table { - border-collapse: collapse; - } - - thead { - border-bottom: 0.2em solid; - } - - tbody { - border: thin solid; - border-style: solid none; - } - - tbody.ch { - border-top: 0.2em solid; - } - tbody.ch th { - font-weight: bold; - } - - tbody th { - border-bottom: silver dotted thin; - background: #EEE; - color: black; - font-weight: normal; - font-style: italic; - } - tbody th :link { - color: gray; - background: transparent; - } - tbody th :visited { - color: #333; - background: transparent; - } - - th, td { - padding: 0.2em; - text-align: left; - vertical-align: baseline; - } - - td { - font-size: 0.9em; - } - - /* flags */ - td abbr { - border: solid thin gray; - padding: 0 0.1em; - cursor: help; - } - td abbr:hover { - background: #ffa; - color: black; - } - - - tr:hover { - background: #F9F9F9; - color: navy; - } - - th a, - td a { - text-decoration: none; - } - th a:hover, - td a:hover, - th a:focus, - td a:focus { - text-decoration: underline; - } - - td a { - display: block; - padding-left: 2em; - text-indent: -1em; - } - .refs { - font-weight: bold; - font-size: larger; - } - .assert, .assert > li { - list-style-type: none; - font-style: italic; - color: gray; - margin: 0; - padding: 0; - text-indent: 0; - } diff --git a/tests/wpt/css-tests/css-conditional-3_dev/testinfo.data b/tests/wpt/css-tests/css-conditional-3_dev/testinfo.data deleted file mode 100644 index c3703a9a341..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/testinfo.data +++ /dev/null @@ -1,88 +0,0 @@ -id references title flags links revision credits assertion -001 @supports rules OM support script http://www.w3.org/TR/css3-conditional/#at-supports 387e60a50a3d993a46f121d3abb2b5aa60bbf623 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-media-whitespace-optional-001 reference/background-lime DESCRIPTION OF TEST http://www.w3.org/TR/css3-conditional/#at-media 43de476ab7894d6c78449a1faea07e8c38dc63ba `L. David Baron`<https://dbaron.org/>,`Mozilla Corporation`<http://mozilla.com/> Whitespace after the MEDIA_SYM token is optional (S*). -at-media-whitespace-optional-002 reference/background-lime DESCRIPTION OF TEST http://www.w3.org/TR/css3-conditional/#at-media c29819ec6fa4119fcc62df96e2839320fe4e7407 `L. David Baron`<https://dbaron.org/>,`Mozilla Corporation`<http://mozilla.com/> Whitespace after the MEDIA_SYM token is optional (S*). -at-supports-001 reference/at-supports-001-ref Support for simple passing conditions in @supports http://www.w3.org/TR/css3-conditional/#at-supports b461c0b2d7b695c3459e1ea678e6a9d1c54c93eb `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-002 reference/at-supports-001-ref Support for @supports within @media http://www.w3.org/TR/css3-conditional/#at-supports 8b6e43dfcab26ac1be11fa6afa85be45dc04b5e9 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-003 reference/at-supports-001-ref Support for @media within @supports http://www.w3.org/TR/css3-conditional/#at-supports 9922bdb312340ce133334ec143a74585de6837d3 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-004 reference/at-supports-001-ref @supports within non-matching @media should not apply http://www.w3.org/TR/css3-conditional/#at-supports fc56fe5d1a6e959de9e45b5cf3b5fd62514e8ab6 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-005 reference/at-supports-001-ref non-matching @media within @supports should not apply http://www.w3.org/TR/css3-conditional/#at-supports b2b5893a998141d0372a66ff6ade853ab389bcfb `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-006 reference/at-supports-001-ref Nested parens around conditions in @supports should work http://www.w3.org/TR/css3-conditional/#at-supports b330e5406b4e1608571b7b17a766d307012dd581 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-007 reference/at-supports-001-ref Conjunctions of passing simple conditions in @supports should pass http://www.w3.org/TR/css3-conditional/#at-supports d9d7f17289f646cded6074b4d8b8ae9c33fd4423 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-008 reference/at-supports-001-ref Disjunctions with at least a passing simple condition in @supports should pass http://www.w3.org/TR/css3-conditional/#at-supports 84785a62436f90b847ea8b0a87f625fbf77901b0 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-009 reference/at-supports-001-ref Negations of failing simple conditions in @supports should pass http://www.w3.org/TR/css3-conditional/#at-supports c45c61b879c9d874afb6e6c031788bae90ad971f `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-010 reference/at-supports-001-ref Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work http://www.w3.org/TR/css3-conditional/#at-supports 36393621357e00f0aead2337ec00ae743620293f `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-011 reference/at-supports-001-ref Conditions not enclosed in parens in @supports should not work invalid http://www.w3.org/TR/css3-conditional/#at-supports 724b9ca3d11ca90af8ee9ed87e063e7ced70d99f `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-012 reference/at-supports-001-ref Conjunctions with more than two terms in @supports should work http://www.w3.org/TR/css3-conditional/#at-supports 5bfb18c97e4940d48136e88a3db9320051e4db96 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-013 reference/at-supports-001-ref Disjunction with more than two terms in @supports should work http://www.w3.org/TR/css3-conditional/#at-supports 51af0702d90db971961d083e15a0fbd8e3408d4c `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-014 reference/at-supports-001-ref Negations in @supports should not work if "not" isn't follow by a space invalid http://www.w3.org/TR/css3-conditional/#at-supports dc622dc843feb04ab0b0364d8daceb6d4cd2b88f `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-015 reference/at-supports-001-ref Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports http://www.w3.org/TR/css3-conditional/#at-supports 46830ef480127528228b1df7f6ca82881a2935c7 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-016 reference/at-supports-001-ref In @supports, parens are required to mix conjunctions with disjunctions invalid http://www.w3.org/TR/css3-conditional/#at-supports c00117c16219d5f979f7940d5a3f56d90689459a `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-017 reference/at-supports-001-ref In @supports, functions can be parsed successfully http://www.w3.org/TR/css3-conditional/#at-supports b1a62a86bc5c1a38d1be4b6427d8a5fb648c3bd5 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-018 reference/at-supports-001-ref In @supports conditions, the arguments of a function can begin with spaces http://www.w3.org/TR/css3-conditional/#at-supports b71f1a38f3737095f099e6664da1ea23eb713225 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-019 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 32d9cc9a5915eae90a48feb10e13f245ccc858d5 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-020 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports fcb0729d45ffc567f9756e6be2d36c7b47a682da `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-021 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 6b04d3c3c0d14b12cee5f289a80f814ba56ac193 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-022 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 9c83d3b91c7ea52606378cc1fa3c7e0d9ee5cb97 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-023 reference/at-supports-001-ref Incorrect syntax in nested @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports cd23c5881ce3db9207aea9fccfe9cba397c09b96 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-024 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 8018880834dee39f826a1262fc160fb0a7fde9d0 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-025 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 1dd59cb1354b0fcf648a415e5f6be20e7ce3594a `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-026 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 07854d783792eca893f1e80e8e3d256319f1b702 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-027 reference/at-supports-027-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports ad457c192de9d5f4d6604cb223a070d820c2b604 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-028 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports b952644db0f913efdc6321f9c14d1287b1998e30 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-029 reference/at-supports-027-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 3d2094308272219cc3e2eff15f6005a9edfae148 `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-030 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 74a4bc0be68602e9e97512afd19726f467f5fcda `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-031 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 946ba17fdc10abbe26f2dde5ec6b4db6f21ef5ef `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-032 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 3ca58122eeae5292b554484dd433137e613a310f `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-033 reference/at-supports-001-ref Incorrect syntax in @supports recovers properly invalid http://www.w3.org/TR/css3-conditional/#at-supports 8d2ee70f60d678ff84bf832955a84ee01c4be51a `Florian Rivoal`<http://florian.rivoal.net/>,`Opera Software ASA`<http://opera.com> -at-supports-034 reference/at-supports-001-ref Incorrect syntax of supports condition invalid http://www.w3.org/TR/css3-conditional/#at-supports 05f2d87be51e27ebfbb1ee54e6d2f7e2a23907e8 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'. -at-supports-035 reference/at-supports-001-ref Incorrect syntax of supports condition invalid http://www.w3.org/TR/css3-conditional/#at-supports 9911385dd0408bb4a1032912cc8f2bed5b4abed9 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'. -at-supports-036 reference/at-supports-001-ref Incorrect syntax of supports condition invalid http://www.w3.org/TR/css3-conditional/#at-supports 50b9956080ee43e80705c41d462cc2cd8baeb661 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'. -at-supports-037 reference/at-supports-001-ref Incorrect syntax of supports condition invalid http://www.w3.org/TR/css3-conditional/#at-supports 2c4de31a3aa1e2b7b4106c00ad495c7105e5839c `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'. -at-supports-038 reference/at-supports-001-ref a supports condition declaration can not end with a semi-colon invalid http://www.w3.org/TR/css3-conditional/#at-supports e4b351139dd52a7479df10d345288b1c0e8bbf9f `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se. -at-supports-039 reference/at-supports-001-ref a supports condition declaration can not end with a semi-colon invalid http://www.w3.org/TR/css3-conditional/#at-supports e1f599c1c5167c5e6aba9fa446fc3b6d603631f3 `Gérard Talbot`<http://www.gtalbot.org/BrowserBugsSection/css21testsuite/> Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se. -css-supports-001 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 3eb2e352b9a56eb0b25c14593c3158c9a2677c1f `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply. -css-supports-002 support/pass An @supports rule with invalid syntax must not apply rules inside it invalid http://www.w3.org/TR/css3-conditional/#at-supports 1af686f5705d6c604eb1cfab0a39a07d8d1879da `Cameron McCormack`<mailto:cam@mcc.id.au> Property declarations in an @supports rule condition must be surrounded by parentheses. -css-supports-003 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports dfff4f786fafad5eace0e3a1d3baaaf0cf7d6c9b `Cameron McCormack`<mailto:cam@mcc.id.au> Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses. -css-supports-004 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 96143965825c01ba768c2690e74256571e8f331f `Cameron McCormack`<mailto:cam@mcc.id.au> Property declarations in an @supports rule can have !important specified. -css-supports-005 support/pass An @supports rule with valid syntax but a failing condition must not apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 9bc94d5debc297c07360cf482a19e35284cf1dcd `Cameron McCormack`<mailto:cam@mcc.id.au> A supported property with an unsupported value must cause the @supports condition to fail. -css-supports-006 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 98fe2e9aa5047e9440c5a8fc73fc0e088cfd1ad7 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes. -css-supports-007 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 32a44e02c19d0154b47c02e481fcf09eba36f796 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes. -css-supports-008 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 55ec34c11dcfd0cf9346e3fc058240a1572d6443 `Cameron McCormack`<mailto:cam@mcc.id.au> A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass. -css-supports-009 support/pass An @supports rule with valid syntax but a failing condition must not apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 2661f74b9fb308b9ea8b6a4c91c5ce3c34a2ac43 `Cameron McCormack`<mailto:cam@mcc.id.au> A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes. -css-supports-010 support/pass An @supports rule with valid syntax but a failing condition must not apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 4c2ed2c887d68b577c95dd16223cf7dc2ee29ae7 `Cameron McCormack`<mailto:cam@mcc.id.au> A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes. -css-supports-011 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 18ea9af1d7b92c0f205d3b2ed2aa89cc9fd51a36 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes. -css-supports-012 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports a7cb7e0c4e91706afa5ea0dc758f7e1c09b1711a `Cameron McCormack`<mailto:cam@mcc.id.au> A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass. -css-supports-013 support/pass An @supports rule with invalid syntax must not apply rules inside it invalid http://www.w3.org/TR/css3-conditional/#at-supports 65229373ecc788d970c42c305858ffd6f30c3eb4 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses. -css-supports-014 support/pass An @supports rule with invalid syntax must not apply rules inside it invalid http://www.w3.org/TR/css3-conditional/#at-supports 17bae11970b70eb0c36526c2c48dcd83ca3fb0b8 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses. -css-supports-015 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 72512fa6728201894311a8d75d748d7d079deb38 `Cameron McCormack`<mailto:cam@mcc.id.au> There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value. -css-supports-016 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 4bac6c616008db12d0a6bdcee638930be4604312 `Cameron McCormack`<mailto:cam@mcc.id.au> A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value. -css-supports-017 support/pass An @supports rule with invalid syntax must not apply rules inside it invalid http://www.w3.org/TR/css3-conditional/#at-supports 0827b9aa65e0c4ec522523e6a7dca47d3a95d2a1 `Cameron McCormack`<mailto:cam@mcc.id.au> The sub-condition of a negation in an @supports condition must be in parentheses. -css-supports-018 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 374000322b3dce972af1354665f2810214fbdd7a `Cameron McCormack`<mailto:cam@mcc.id.au> The sub-condition of a negation in an @supports condition must be in parentheses. -css-supports-019 support/pass An @supports rule with invalid syntax must not apply rules inside it invalid http://www.w3.org/TR/css3-conditional/#at-supports b080a6ff49b17fd9cab73d16bfa503596592a06e `Cameron McCormack`<mailto:cam@mcc.id.au> A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses. -css-supports-020 support/pass An @supports rule with valid syntax but a failing condition must not apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports d168c01b9dd81ddf24bbb215e904c057a1f4ec66 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition that is a declaration with a supported property name with an unsupported value must fail. -css-supports-021 support/pass An @supports rule with valid syntax but a failing condition must not apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports b555b6aa0202c09eb4e30ba8910565eee80c8150 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property. -css-supports-022 support/pass An @supports rule with balanced invalid syntax within parentheses must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports 59da5ae40f0a3e46c75c8cb4cec3be23b73dcc18 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition must successfully parse even if a declaration has an empty property value. -css-supports-023 support/pass An @supports rule with balanced invalid syntax within parentheses must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports 2e181eb94038a15c3a8f4d12f349307fd7ad0dc0 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses. -css-supports-024 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 34a775ca053e92a3b953a0cb8e304ccd0db5f715 `Cameron McCormack`<mailto:cam@mcc.id.au> A supported shorthand property declaration must be considered to pass. -css-supports-025 support/pass A nested @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports e02c5a0fdb8eeb74e01468c7bdf430c288ca38f0 `Cameron McCormack`<mailto:cam@mcc.id.au> An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded. -css-supports-026 support/pass A nested @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports,http://www.w3.org/TR/css3-conditional/#at-media a49475d90957b2ad5e8b9fbd3029833d70093179 `Cameron McCormack`<mailto:cam@mcc.id.au> An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass. -css-supports-029 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 00239d0b68282a76778f189ff116e4208eda3553 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses. -css-supports-030 support/pass An @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports 1ba1d98b84af64947ccaaa0ed558332712a04f96 `Cameron McCormack`<mailto:cam@mcc.id.au> A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses. -css-supports-031 support/pass An @supports rule with balanced invalid syntax within parentheses must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports f0dbf3a69c6ad648b2e4144533f73af063a15bf7 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses. -css-supports-032 support/pass An @supports rule with balanced invalid syntax must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports 2d608e20d5f090a1543f15a9e4a419da996bd273 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax. -css-supports-033 support/pass An @supports rule with balanced invalid syntax must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports 54302e819b3667ab0ac8b0a9488ef77c4ec748e0 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses. -css-supports-034 support/pass An @supports rule with balanced invalid syntax must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports 54302e819b3667ab0ac8b0a9488ef77c4ec748e0 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses. -css-supports-035 support/pass An @supports rule with unbalanced invalid syntax must fail to parse invalid http://www.w3.org/TR/css3-conditional/#at-supports d5dc60a80cff62972faca72f36288ecdeabfede6 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse. -css-supports-036 support/pass An @supports rule with an unrecognized condition using functional notation must evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports e304888482c69260ef0c9ab30bacc22bc94573c3 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition with an unrecognized condition using functional notation must evaluate to false. -css-supports-037 support/pass An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse invalid http://www.w3.org/TR/css3-conditional/#at-supports 567f4880553fd1a39b1f8e20551c9f512a410dcd `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse. -css-supports-038 support/pass In an @supports rule "not(" must be parsed as a FUNCTION http://www.w3.org/TR/css3-conditional/#at-supports 68384360517b0677216e1523195e2ca4f75e30a1 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition with 'not(' must parse be parsed as a FUNCTION token. -css-supports-039 support/pass In an @supports rule "or(" must be parsed as a FUNCTION invalid http://www.w3.org/TR/css3-conditional/#at-supports df5f61cf1471c268d323c25a61c4ede93aa1e1cf `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports condition with 'or(' must parse be parsed as a FUNCTION token. -css-supports-040 support/pass An @supports rule condition with empty parentheses should evaluates to false http://www.w3.org/TR/css3-conditional/#at-supports 9ee5675e7860e5a4e57fbc5eb25423a9b29b61f2 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition that consists just of a pair of parentheses should evaluate to false. -css-supports-041 support/pass An @supports rule condition with empty parentheses should evaluates to false http://www.w3.org/TR/css3-conditional/#at-supports eb94fdc2abd43ee9f9e83971f868eda824b1cf90 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition that consists just of a pair of parentheses should evaluate to false. -css-supports-042 support/pass An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed http://www.w3.org/TR/css3-conditional/#at-supports 11a35285488667aae60b4939fe10b5decb344f67 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse. -css-supports-043 support/pass An @supports rule condition with a bogus priority should evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports 52a5e1102115a8b9388824d85cb22681c1a608ea `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition with a bogus priority should evaluate to false -css-supports-044 support/pass An @supports rule condition with tokens after the priority should evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports f9e3fa62cea287a58458609811a0c92617402fda `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition with tokens after the priority should evaluate to false -css-supports-045 support/pass An @supports rule condition with two priorities should evaluate to false http://www.w3.org/TR/css3-conditional/#at-supports e0dead62ae685a3010c1a7ffebbfffc334052262 `Cameron McCormack`<mailto:cam@mcc.id.au> An @supports rule condition with two priorities should evaluate to false -css-supports-046 support/pass A nested @supports rule with valid syntax and a passing condition must apply rules inside it http://www.w3.org/TR/css3-conditional/#at-supports,http://www.w3.org/TR/css3-conditional/#at-media ff878a784b9acb0dfa2117d954b7b7c0d3a01356 `Cameron McCormack`<mailto:cam@mcc.id.au>,`L. David Baron`<mailto:dbaron@dbaron.org> An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass. -test_group_insertRule CSS Variables Allowed Syntax script http://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface 1ae2a5f80101dcb332b63eb028a2d852e78536c0 `L. David Baron`<https://dbaron.org/>,`Mozilla Corporation`<http://mozilla.com/> requirements in definition of insertRule diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/001.xht deleted file mode 100644 index da51f3e5082..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/001.xht +++ /dev/null @@ -1,224 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Test (Conditional Rules): @supports rules OM support</title> -<link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> -<link href="http://opera.com" rel="author" title="Opera Software ASA" /> -<link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> -<meta content="" name="flags" /> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<style> - @supports (padding: 0) { - dfn { width:0; } - @supports (width: 0) { - br { height:0; } - } - ol { display:none; } - } - @media all { - @supports (padding: 0) { - @keyframes foo { - 0% { top: 0; left: 0; } - 100% { top: 100px; left: 100px; } - } - } - } - @supports (border: black) and (padding: 0) and (width: 0) { - dfn { width:0; } - } - @supports (border: black) or (padding: 0) or (width: 0) { - dfn { width:0; } - } -</style> -<script> - /** - * Asserts tha the two strings are equal, after normalizing whitespace - * - * If the serialization of whitespace and identation ever becomes - * specified to a sufficient degree of presition, this should be - * replaced by a strict textual comparison with assert_equals. - */ - function assert_equals_normalized(a, b) { - var normal_a = a.replace(/\s+/g, " "); - var normal_b = b.replace(/\s+/g, " "); - assert_equals(normal_a, normal_b); - } - test(function(){ - var base_rule = document.styleSheets[0].cssRules[0]; - var child_rule = base_rule.cssRules[1]; - assert_equals_normalized(base_rule.cssText, - "@supports (padding: 0) {\n" - +" dfn { width: 0px; }\n" - +" @supports (width: 0) {\n" - +" br { height: 0px; }\n" - +" }\n" - +" ol { display: none; }\n" - +"}"); - assert_equals_normalized(child_rule.cssText, - "@supports (width: 0) {\n" - +" br { height: 0px; }\n" - +"}"); - }, "nested @supports serialize properly"); - - test(function(){ - var base_rule = document.styleSheets[0].cssRules[1]; - var child_rule = base_rule.cssRules[0]; - var grand_child_rule = child_rule.cssRules[0]; - assert_equals_normalized(base_rule.cssText, - "@media all {\n" - +" @supports (padding: 0) {\n" - +" @keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +" }\n" - +" }\n" - +"}"); - assert_equals_normalized(child_rule.cssText, - "@supports (padding: 0) {\n" - +" @keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +" }\n" - +"}"); - assert_equals_normalized(grand_child_rule.cssText, - "@keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +"}"); - }, "@keyframes nested in @supports serialize properly"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - assert_equals(rules.length, 4); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[1].type, CSSRule.MEDIA_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - - assert_equals(rules[1].cssRules.length, 1); - assert_equals(rules[1].cssRules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[1].cssRules[0].cssRules.length, 1); - assert_equals(rules[1].cssRules[0].cssRules[0].type, CSSRule.KEYFRAMES_RULE); - - assert_equals(rules[2].cssRules.length, 1); - assert_equals(rules[2].cssRules[0].type, CSSRule.STYLE_RULE); - - assert_equals(rules[3].cssRules.length, 1); - assert_equals(rules[3].cssRules[0].type, CSSRule.STYLE_RULE); - }, "The style sheet structure is properly represented"); - - test(function(){ - document.styleSheets[0].deleteRule(1); - - var rules = document.styleSheets[0].cssRules; - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - }, "Deleting the top level of a nested structue works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].cssRules[1].insertRule("img { visibility:hidden; }", 0); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 2); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "img { visibility: hidden; }"); - assert_equals(rules[0].cssRules[1].cssRules[1].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[1].cssText, "br { height: 0px; }"); - }, "Rule insertion works in nested @supports rules"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].insertRule("@supports (left: 42px) { #foo { color:green; } }", 1); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 4); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[3].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "#foo { color: green; }"); - - assert_equals(rules[0].cssRules[2].cssRules.length, 2); - assert_equals(rules[0].cssRules[2].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[2].cssRules[0].cssText, "img { visibility: hidden; }"); - assert_equals(rules[0].cssRules[2].cssRules[1].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[2].cssRules[1].cssText, "br { height: 0px; }"); - }, "Insertion @supports rules into another @supports rule works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].deleteRule(2); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "#foo { color: green; }"); - }, "Deletion of a nested @supports rule works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].insertRule("@font-face { font-familly: foo; src: url('http://www.example.com/foo'; }", 0); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 4); - assert_equals(rules[0].cssRules[0].type, CSSRule.FONT_FACE_RULE); - }, "Inserting @font-face inside @supports works"); - - test(function(){ - var style_rule = document.styleSheets[0].cssRules[0].cssRules[1]; - - assert_throws(new TypeError(), function() { style_rule.insertRule("@supports (width: 0) { ol { width: 0; } }", 0);} ); - - }, "Inserting an @supports inside a style rule should fail"); - test(function(){ - var rule = document.styleSheets[0].cssRules[1]; - assert_equals_normalized(rule.cssText, - "@supports (border: black) and (padding: 0) and (width: 0) {\n" - +" dfn { width: 0px; }\n" - +"}"); - }, "'and' arguments in @supports serialize in the correct order and with extra parentheses"); - test(function(){ - var rule = document.styleSheets[0].cssRules[2]; - assert_equals_normalized(rule.cssText, - "@supports (border: black) or (padding: 0) or (width: 0) {\n" - +" dfn { width: 0px; }\n" - +"}"); - }, "'or' arguments in @supports serialize in the correct order and with extra parentheses"); -</script> - -</head><body><div id="log"></div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-media-whitespace-optional-001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-media-whitespace-optional-001.xht deleted file mode 100644 index 83032b8c24f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-media-whitespace-optional-001.xht +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test: DESCRIPTION OF TEST</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <link href="reference/background-lime.xht" rel="match" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-media" rel="help" /> - <meta content="Whitespace after the MEDIA_SYM token is optional (S*)." name="assert" /> - <style> - @media{ body { background: lime; color: black; } } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-media-whitespace-optional-002.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-media-whitespace-optional-002.xht deleted file mode 100644 index d43f5c4e80f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-media-whitespace-optional-002.xht +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test: DESCRIPTION OF TEST</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <link href="reference/background-lime.xht" rel="match" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-media" rel="help" /> - <meta content="Whitespace after the MEDIA_SYM token is optional (S*)." name="assert" /> - <style> - @media(min-width:0px){ body { background: lime; color: black; } } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-001.xht deleted file mode 100644 index ae79f3b08eb..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-001.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Support for simple passing conditions in @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0) { - div { background-color:green; } - } - </style> -</head> -<body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div> - </div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-002.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-002.xht deleted file mode 100644 index ab29033f4d8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-002.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Support for @supports within @media</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @media all { - @supports (margin: 0) { - div { background-color:green; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-003.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-003.xht deleted file mode 100644 index 0e1b4dd8424..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-003.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Support for @media within @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0) { - @media all{ - div { background-color:green; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-004.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-004.xht deleted file mode 100644 index 94040a36b18..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-004.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): @supports within non-matching @media should not apply</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @media not all { - @supports (margin: 0) { - div { background-color:red; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-005.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-005.xht deleted file mode 100644 index af7ea763c11..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-005.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): non-matching @media within @supports should not apply</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports (margin: 0) { - @media not all { - div { background-color:red; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-006.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-006.xht deleted file mode 100644 index 4594fa87ade..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-006.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Nested parens around conditions in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-007.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-007.xht deleted file mode 100644 index 444f395cc8d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-007.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Conjunctions of passing simple conditions in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) and (display:inline-block !important)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-008.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-008.xht deleted file mode 100644 index a7399c15741..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-008.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Disjunctions with at least a passing simple condition in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) or (foo: 15em)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-009.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-009.xht deleted file mode 100644 index a99d07f91e2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-009.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Negations of failing simple conditions in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (not (yadayada: x, calc( 2/3 ))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-010.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-010.xht deleted file mode 100644 index c998ef9748e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-010.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((yada: 2kg !trivial) or ((not (foo:bar)) and (((visibility:hidden))))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-011.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-011.xht deleted file mode 100644 index 449781af327..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-011.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Conditions not enclosed in parens in @supports should not work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports margin: 0 { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-012.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-012.xht deleted file mode 100644 index d641d322bb4..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-012.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Conjunctions with more than two terms in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) and (background: blue) and (padding:inherit)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-013.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-013.xht deleted file mode 100644 index 1df5407c6a1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-013.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Disjunction with more than two terms in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((yoyo: yaya) or (margin: 0) or (answer: 42)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-014.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-014.xht deleted file mode 100644 index 5d28b673bff..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-014.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Negations in @supports should not work if "not" isn't follow by a space</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (width: 0) { - div { background-color:green; } - } - @supports not(foo: baz) { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-015.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-015.xht deleted file mode 100644 index 86ada1c6257..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-015.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (not (foo: baz !unrelated $ ,/[&])) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-016.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-016.xht deleted file mode 100644 index 36af55cbde8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-016.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): In @supports, parens are required to mix conjunctions with disjunctions</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div{ - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports ((margin: 0) and (display: inline) or (width:1em)) { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-017.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-017.xht deleted file mode 100644 index e680afa5319..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-017.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): In @supports, functions can be parsed successfully</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background:red; - height:100px; - width:100px; - } - @supports (background: url("http://www.example.com/foo.jpg")) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-018.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-018.xht deleted file mode 100644 index 0912f1c11e0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-018.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): In @supports conditions, the arguments of a function can begin with spaces</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background:red; - height:100px; - width:100px; - } - @supports (not (width:compute( 2px + 2px ))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-019.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-019.xht deleted file mode 100644 index 32ac1df001c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-019.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: ) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-020.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-020.xht deleted file mode 100644 index 35bae5d3d6d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-020.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 2px) ) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-021.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-021.xht deleted file mode 100644 index 81a2a29f241..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-021.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0 ); - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-022.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-022.xht deleted file mode 100644 index 7b276f971c5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-022.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports [margin: 0] { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-023.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-023.xht deleted file mode 100644 index be76eed08f6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-023.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in nested @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @media all { - @supports (width: 0)) {} - @supports (margin:0) { div { background-color:green !important; } } - } - div { background-color:red; } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-024.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-024.xht deleted file mode 100644 index b2e9700bee6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-024.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-025.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-025.xht deleted file mode 100644 index 37016d7dd38..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-025.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin:0) and [padding:0]) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-026.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-026.xht deleted file mode 100644 index 3895bae54f2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-026.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0]) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-027.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-027.xht deleted file mode 100644 index 29038ad7024..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-027.xht +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-027-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - @supports (margin:0) { div { background-color:green; } } - div { - height:100px; - width:100px; - } - @supports (margin: 0) - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-028.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-028.xht deleted file mode 100644 index 675e9a55c0f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-028.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0)) {} - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-029.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-029.xht deleted file mode 100644 index adfd9ba2220..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-029.xht +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-027-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - @supports (margin:0) { div { background-color:green; } } - div { - height:100px; - width:100px; - } - @supports (margin: 0) ! - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-030.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-030.xht deleted file mode 100644 index 4c88cc5b6ff..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-030.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports ((margin: 0) and ; - div { background-color:red; } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-031.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-031.xht deleted file mode 100644 index db0fcbe10e1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-031.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0)) ; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-032.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-032.xht deleted file mode 100644 index 29bc6416705..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-032.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports {} - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-033.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-033.xht deleted file mode 100644 index ab5732894f8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-033.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-034.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-034.xht deleted file mode 100644 index c20ae695d52..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-034.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0 or padding: 0) { div {background-color: red !important;} } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-035.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-035.xht deleted file mode 100644 index 4ffd1b2d4e8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-035.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0 or padding: 0) { div {background-color: red;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-036.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-036.xht deleted file mode 100644 index 9e05fa60c85..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-036.xht +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0 and padding: 0) - { - div {background-color: red !important;} - } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-037.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-037.xht deleted file mode 100644 index bbe64fb139f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-037.xht +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0 and padding: 0) { div {background-color: red;} } - - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-038.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-038.xht deleted file mode 100644 index 39797e5a4d8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-038.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0;) { div {background-color: red !important;} } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-039.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-039.xht deleted file mode 100644 index 51b65d47de0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/at-supports-039.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0;) { div {background-color: red;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-1.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-1.xht deleted file mode 100644 index 572d0e3a765..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-1.xht +++ /dev/null @@ -1,57 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Introduction - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Introduction (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#introduction">1 Introduction</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#context">1.1 Background</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#placement">1.2 Module Interactions</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conventions">1.3 Document Conventions</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-2.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-2.xht deleted file mode 100644 index af27003e1e4..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-2.xht +++ /dev/null @@ -1,42 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Processing of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Processing of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#processing">2 Processing of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s2.#conditional-group-rules"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-3.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-3.xht deleted file mode 100644 index 910043fa3dc..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-3.xht +++ /dev/null @@ -1,48 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Contents of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Contents of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#contents-of">3 Contents of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#group-rule-body"> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#group_rule_body"> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#nested_statement"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-4.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-4.xht deleted file mode 100644 index 48de761eed8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-4.xht +++ /dev/null @@ -1,39 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Placement of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Placement of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#use">4 Placement of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-5.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-5.xht deleted file mode 100644 index 01b309fa33b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-5.xht +++ /dev/null @@ -1,89 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Media-specific style sheets: the ‘@media’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Media-specific style sheets: the ‘@media’ rule (4 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#at-media">5 Media-specific style sheets: the ‘@media’ rule</a></th></tr> - <!-- 4 tests --> - <tr id="at-media-whitespace-optional-001-5" class=""> - <td> - <a href="at-media-whitespace-optional-001.xht">at-media-whitespace-optional-001</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td></td> - <td>DESCRIPTION OF TEST - <ul class="assert"> - <li>Whitespace after the MEDIA_SYM token is optional (S*).</li> - </ul> - </td> - </tr> - <tr id="at-media-whitespace-optional-002-5" class=""> - <td> - <a href="at-media-whitespace-optional-002.xht">at-media-whitespace-optional-002</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td></td> - <td>DESCRIPTION OF TEST - <ul class="assert"> - <li>Whitespace after the MEDIA_SYM token is optional (S*).</li> - </ul> - </td> - </tr> - <tr id="css-supports-026-5" class=""> - <td> - <a href="css-supports-026.xht">css-supports-026</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-046-5" class=""> - <td> - <a href="css-supports-046.xht">css-supports-046</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s5.#atmedia-rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s5.#media"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-6.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-6.xht deleted file mode 100644 index 7e2c14441c0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-6.xht +++ /dev/null @@ -1,903 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Feature queries: the ‘@supports’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Feature queries: the ‘@supports’ rule (84 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s6"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s6">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#at-supports">6 Feature queries: the ‘@supports’ rule</a></th></tr> - <!-- 84 tests --> - <tr id="001-6" class="script"> - <td> - <a href="001.xht">001</a></td> - <td></td> - <td><abbr class="script" title="Executes tests in script">Script</abbr></td> - <td>@supports rules OM support - </td> - </tr> - <tr id="at-supports-001-6" class=""> - <td> - <a href="at-supports-001.xht">at-supports-001</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Support for simple passing conditions in @supports - </td> - </tr> - <tr id="at-supports-002-6" class=""> - <td> - <a href="at-supports-002.xht">at-supports-002</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Support for @supports within @media - </td> - </tr> - <tr id="at-supports-003-6" class=""> - <td> - <a href="at-supports-003.xht">at-supports-003</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Support for @media within @supports - </td> - </tr> - <tr id="at-supports-004-6" class=""> - <td> - <a href="at-supports-004.xht">at-supports-004</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>@supports within non-matching @media should not apply - </td> - </tr> - <tr id="at-supports-005-6" class=""> - <td> - <a href="at-supports-005.xht">at-supports-005</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>non-matching @media within @supports should not apply - </td> - </tr> - <tr id="at-supports-006-6" class=""> - <td> - <a href="at-supports-006.xht">at-supports-006</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Nested parens around conditions in @supports should work - </td> - </tr> - <tr id="at-supports-007-6" class=""> - <td> - <a href="at-supports-007.xht">at-supports-007</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Conjunctions of passing simple conditions in @supports should pass - </td> - </tr> - <tr id="at-supports-008-6" class=""> - <td> - <a href="at-supports-008.xht">at-supports-008</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Disjunctions with at least a passing simple condition in @supports should pass - </td> - </tr> - <tr id="at-supports-009-6" class=""> - <td> - <a href="at-supports-009.xht">at-supports-009</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Negations of failing simple conditions in @supports should pass - </td> - </tr> - <tr id="at-supports-010-6" class=""> - <td> - <a href="at-supports-010.xht">at-supports-010</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work - </td> - </tr> - <tr id="at-supports-011-6" class="invalid"> - <td> - <a href="at-supports-011.xht">at-supports-011</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Conditions not enclosed in parens in @supports should not work - </td> - </tr> - <tr id="at-supports-012-6" class=""> - <td> - <a href="at-supports-012.xht">at-supports-012</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Conjunctions with more than two terms in @supports should work - </td> - </tr> - <tr id="at-supports-013-6" class=""> - <td> - <a href="at-supports-013.xht">at-supports-013</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Disjunction with more than two terms in @supports should work - </td> - </tr> - <tr id="at-supports-014-6" class="invalid"> - <td> - <a href="at-supports-014.xht">at-supports-014</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Negations in @supports should not work if "not" isn't follow by a space - </td> - </tr> - <tr id="at-supports-015-6" class=""> - <td> - <a href="at-supports-015.xht">at-supports-015</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports - </td> - </tr> - <tr id="at-supports-016-6" class="invalid"> - <td> - <a href="at-supports-016.xht">at-supports-016</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>In @supports, parens are required to mix conjunctions with disjunctions - </td> - </tr> - <tr id="at-supports-017-6" class=""> - <td> - <a href="at-supports-017.xht">at-supports-017</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>In @supports, functions can be parsed successfully - </td> - </tr> - <tr id="at-supports-018-6" class=""> - <td> - <a href="at-supports-018.xht">at-supports-018</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>In @supports conditions, the arguments of a function can begin with spaces - </td> - </tr> - <tr id="at-supports-019-6" class="invalid"> - <td> - <a href="at-supports-019.xht">at-supports-019</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-020-6" class="invalid"> - <td> - <a href="at-supports-020.xht">at-supports-020</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-021-6" class="invalid"> - <td> - <a href="at-supports-021.xht">at-supports-021</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-022-6" class="invalid"> - <td> - <a href="at-supports-022.xht">at-supports-022</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-023-6" class="invalid"> - <td> - <a href="at-supports-023.xht">at-supports-023</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in nested @supports recovers properly - </td> - </tr> - <tr id="at-supports-024-6" class="invalid"> - <td> - <a href="at-supports-024.xht">at-supports-024</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-025-6" class="invalid"> - <td> - <a href="at-supports-025.xht">at-supports-025</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-026-6" class="invalid"> - <td> - <a href="at-supports-026.xht">at-supports-026</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-027-6" class="invalid"> - <td> - <a href="at-supports-027.xht">at-supports-027</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-028-6" class="invalid"> - <td> - <a href="at-supports-028.xht">at-supports-028</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-029-6" class="invalid"> - <td> - <a href="at-supports-029.xht">at-supports-029</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-030-6" class="invalid"> - <td> - <a href="at-supports-030.xht">at-supports-030</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-031-6" class="invalid"> - <td> - <a href="at-supports-031.xht">at-supports-031</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-032-6" class="invalid"> - <td> - <a href="at-supports-032.xht">at-supports-032</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-033-6" class="invalid"> - <td> - <a href="at-supports-033.xht">at-supports-033</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-034-6" class="invalid"> - <td> - <a href="at-supports-034.xht">at-supports-034</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-035-6" class="invalid"> - <td> - <a href="at-supports-035.xht">at-supports-035</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-036-6" class="invalid"> - <td> - <a href="at-supports-036.xht">at-supports-036</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-037-6" class="invalid"> - <td> - <a href="at-supports-037.xht">at-supports-037</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-038-6" class="invalid"> - <td> - <a href="at-supports-038.xht">at-supports-038</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>a supports condition declaration can not end with a semi-colon - <ul class="assert"> - <li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li> - </ul> - </td> - </tr> - <tr id="at-supports-039-6" class="invalid"> - <td> - <a href="at-supports-039.xht">at-supports-039</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>a supports condition declaration can not end with a semi-colon - <ul class="assert"> - <li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li> - </ul> - </td> - </tr> - <tr id="css-supports-001-6" class=""> - <td> - <a href="css-supports-001.xht">css-supports-001</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply.</li> - </ul> - </td> - </tr> - <tr id="css-supports-002-6" class="invalid"> - <td> - <a href="css-supports-002.xht">css-supports-002</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>Property declarations in an @supports rule condition must be surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-003-6" class=""> - <td> - <a href="css-supports-003.xht">css-supports-003</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-004-6" class=""> - <td> - <a href="css-supports-004.xht">css-supports-004</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>Property declarations in an @supports rule can have !important specified.</li> - </ul> - </td> - </tr> - <tr id="css-supports-005-6" class=""> - <td> - <a href="css-supports-005.xht">css-supports-005</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A supported property with an unsupported value must cause the @supports condition to fail.</li> - </ul> - </td> - </tr> - <tr id="css-supports-006-6" class=""> - <td> - <a href="css-supports-006.xht">css-supports-006</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-007-6" class=""> - <td> - <a href="css-supports-007.xht">css-supports-007</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-008-6" class=""> - <td> - <a href="css-supports-008.xht">css-supports-008</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-009-6" class=""> - <td> - <a href="css-supports-009.xht">css-supports-009</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-010-6" class=""> - <td> - <a href="css-supports-010.xht">css-supports-010</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-011-6" class=""> - <td> - <a href="css-supports-011.xht">css-supports-011</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-012-6" class=""> - <td> - <a href="css-supports-012.xht">css-supports-012</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-013-6" class="invalid"> - <td> - <a href="css-supports-013.xht">css-supports-013</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-014-6" class="invalid"> - <td> - <a href="css-supports-014.xht">css-supports-014</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-015-6" class=""> - <td> - <a href="css-supports-015.xht">css-supports-015</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-016-6" class=""> - <td> - <a href="css-supports-016.xht">css-supports-016</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-017-6" class="invalid"> - <td> - <a href="css-supports-017.xht">css-supports-017</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>The sub-condition of a negation in an @supports condition must be in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-018-6" class=""> - <td> - <a href="css-supports-018.xht">css-supports-018</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>The sub-condition of a negation in an @supports condition must be in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-019-6" class="invalid"> - <td> - <a href="css-supports-019.xht">css-supports-019</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-020-6" class=""> - <td> - <a href="css-supports-020.xht">css-supports-020</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>An @supports condition that is a declaration with a supported property name with an unsupported value must fail.</li> - </ul> - </td> - </tr> - <tr id="css-supports-021-6" class=""> - <td> - <a href="css-supports-021.xht">css-supports-021</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property.</li> - </ul> - </td> - </tr> - <tr id="css-supports-022-6" class=""> - <td> - <a href="css-supports-022.xht">css-supports-022</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse even if a declaration has an empty property value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-023-6" class=""> - <td> - <a href="css-supports-023.xht">css-supports-023</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-024-6" class=""> - <td> - <a href="css-supports-024.xht">css-supports-024</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A supported shorthand property declaration must be considered to pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-025-6" class=""> - <td> - <a href="css-supports-025.xht">css-supports-025</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded.</li> - </ul> - </td> - </tr> - <tr id="css-supports-026-6" class=""> - <td> - <a href="css-supports-026.xht">css-supports-026</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-029-6" class=""> - <td> - <a href="css-supports-029.xht">css-supports-029</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-030-6" class=""> - <td> - <a href="css-supports-030.xht">css-supports-030</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-031-6" class=""> - <td> - <a href="css-supports-031.xht">css-supports-031</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-032-6" class=""> - <td> - <a href="css-supports-032.xht">css-supports-032</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax.</li> - </ul> - </td> - </tr> - <tr id="css-supports-033-6" class=""> - <td> - <a href="css-supports-033.xht">css-supports-033</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-034-6" class=""> - <td> - <a href="css-supports-034.xht">css-supports-034</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-035-6" class="invalid"> - <td> - <a href="css-supports-035.xht">css-supports-035</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with unbalanced invalid syntax must fail to parse - <ul class="assert"> - <li>An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-036-6" class=""> - <td> - <a href="css-supports-036.xht">css-supports-036</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with an unrecognized condition using functional notation must evaluate to false - <ul class="assert"> - <li>An @supports condition with an unrecognized condition using functional notation must evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-037-6" class="invalid"> - <td> - <a href="css-supports-037.xht">css-supports-037</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse - <ul class="assert"> - <li>An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-038-6" class=""> - <td> - <a href="css-supports-038.xht">css-supports-038</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>In an @supports rule "not(" must be parsed as a FUNCTION - <ul class="assert"> - <li>An @supports condition with 'not(' must parse be parsed as a FUNCTION token.</li> - </ul> - </td> - </tr> - <tr id="css-supports-039-6" class="invalid"> - <td> - <a href="css-supports-039.xht">css-supports-039</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>In an @supports rule "or(" must be parsed as a FUNCTION - <ul class="assert"> - <li>An @supports condition with 'or(' must parse be parsed as a FUNCTION token.</li> - </ul> - </td> - </tr> - <tr id="css-supports-040-6" class=""> - <td> - <a href="css-supports-040.xht">css-supports-040</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with empty parentheses should evaluates to false - <ul class="assert"> - <li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-041-6" class=""> - <td> - <a href="css-supports-041.xht">css-supports-041</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with empty parentheses should evaluates to false - <ul class="assert"> - <li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-042-6" class=""> - <td> - <a href="css-supports-042.xht">css-supports-042</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed - <ul class="assert"> - <li>An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-043-6" class=""> - <td> - <a href="css-supports-043.xht">css-supports-043</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with a bogus priority should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with a bogus priority should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-044-6" class=""> - <td> - <a href="css-supports-044.xht">css-supports-044</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with tokens after the priority should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with tokens after the priority should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-045-6" class=""> - <td> - <a href="css-supports-045.xht">css-supports-045</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with two priorities should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with two priorities should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-046-6" class=""> - <td> - <a href="css-supports-046.xht">css-supports-046</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s6.#atsupports-rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#general_enclosed"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#or"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_condition"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_condition_in_parens"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_conjunction"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_declaration_condition"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_disjunction"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_negation"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_sym"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s6.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#support-definition">6.1 Definition of support</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s6.1.#dfn-support"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-7.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-7.xht deleted file mode 100644 index 14a328fae28..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-7.xht +++ /dev/null @@ -1,101 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>APIs - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>APIs (1 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s7"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#apis">7 APIs</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#extentions-to-cssrule-interface">7.1 Extensions to the CSSRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface">7.2 The CSSGroupingRule interface</a></th></tr> - <!-- 1 tests --> - <tr id="test_group_insertrule-7.2" class="script"> - <td> - <a href="test_group_insertRule.xht">test_group_insertrule</a></td> - <td></td> - <td><abbr class="script" title="Executes tests in script">Script</abbr></td> - <td>CSS Variables Allowed Syntax - <ul class="assert"> - <li>requirements in definition of insertRule</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s7.2.#cssgroupingrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssconditionrule-interface">7.3 The CSSConditionRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.3.#cssconditionrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssmediarule-interface">7.4 The CSSMediaRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.4.#cssmediarule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-csssupportsrule-interface">7.5 The CSSSupportsRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.5.#csssupportsrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.6"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.6">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-css-interface">7.6 The CSS interface, and the supports() function</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.6.#CSS-interface"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-8.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-8.xht deleted file mode 100644 index 9e74011a264..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-8.xht +++ /dev/null @@ -1,78 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Conformance - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Conformance (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s8"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conformance">8 Conformance</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#base-modules">8.1 Base Modules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conformance-classes">8.2 Conformance Classes</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-authoring-tool"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-processor"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-style-sheet"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#partial">8.3 Partial Implementations</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#experimental">8.4 Experimental Implementations</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#cr-exit-criteria">8.5 CR Exit Criteria</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-9.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-9.xht deleted file mode 100644 index 0ca64583b57..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/chapter-9.xht +++ /dev/null @@ -1,90 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Changes - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Changes (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s9"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s9">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#changes">9 Changes</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s.#abstract"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#acknowledgments"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#contents"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#grammar"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#index"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#longstatus-date"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#references"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#status"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS21"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS3-ANIMATIONS"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS3-FONTS"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#MEDIAQ"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#RFC2119"> - <!-- 0 tests --> - </tbody> - <tbody id="sother-references.#CSS1"> - <!-- 0 tests --> - </tbody> - <tbody id="sother-references.#CSS3-TRANSITIONS"> - <!-- 0 tests --> - </tbody> - <tbody id="sreferences.#normative-references"> - <!-- 0 tests --> - </tbody> - <tbody id="sreferences.#other-references"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-001.xht deleted file mode 100644 index 9aefb836736..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-001.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-002.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-002.xht deleted file mode 100644 index 2a39bbea40d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-002.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="Property declarations in an @supports rule condition must be surrounded by parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports color: green { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-003.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-003.xht deleted file mode 100644 index 1039a6e050d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-003.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports ((color: green)) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-004.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-004.xht deleted file mode 100644 index 1a2a742c778..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-004.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="Property declarations in an @supports rule can have !important specified."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green !important) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-005.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-005.xht deleted file mode 100644 index c19c4c848c0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-005.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A supported property with an unsupported value must cause the @supports condition to fail."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: rainbow) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-006.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-006.xht deleted file mode 100644 index 2e1710a7d3a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-006.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: rainbow) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-007.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-007.xht deleted file mode 100644 index a9b843401e6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-007.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) or (color: rainbow) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-008.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-008.xht deleted file mode 100644 index f3e686689ed..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-008.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) and (color: blue) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-009.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-009.xht deleted file mode 100644 index 811b30a5668..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-009.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: rainbow) and (color: blue) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-010.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-010.xht deleted file mode 100644 index ae4b8cfede7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-010.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: blue) and (color: rainbow) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-011.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-011.xht deleted file mode 100644 index c1b4c0de22c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-011.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: rainbow) or (color: iridescent) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-012.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-012.xht deleted file mode 100644 index 6b5931b86e6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-012.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: red) and (color: green) and (color: blue) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-013.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-013.xht deleted file mode 100644 index 6ba88667ccb..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-013.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) and (color: green) or (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-014.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-014.xht deleted file mode 100644 index 141f30289bd..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-014.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) or (color: green) and (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-015.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-015.xht deleted file mode 100644 index f190e5d55a3..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-015.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports(color:green){ - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-016.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-016.xht deleted file mode 100644 index be29975d24b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-016.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports not (color: rainbow) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-017.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-017.xht deleted file mode 100644 index 3d1a2ab56f8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-017.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not not (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-018.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-018.xht deleted file mode 100644 index 9f818ec3996..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-018.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports not (not (color: green)) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-019.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-019.xht deleted file mode 100644 index 6fe12590b83..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-019.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not (color: rainbow) and not (color: iridescent) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-020.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-020.xht deleted file mode 100644 index bfa250b39cf..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-020.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition that is a declaration with a supported property name with an unsupported value must fail."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (unknown: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-021.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-021.xht deleted file mode 100644 index 3b2a419b61f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-021.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (unknown: green) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-022.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-022.xht deleted file mode 100644 index 605909d6d26..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-022.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse even if a declaration has an empty property value."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports (unknown:) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-023.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-023.xht deleted file mode 100644 index 0b007be4506..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-023.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports (unknown) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-024.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-024.xht deleted file mode 100644 index 7404e92bae2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-024.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A supported shorthand property declaration must be considered to pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (font: 16px serif) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-025.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-025.xht deleted file mode 100644 index b994a6a9c5b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-025.xht +++ /dev/null @@ -1,20 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) { - @supports (color: blue) { - html { background-color: green } - } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-026.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-026.xht deleted file mode 100644 index 9e10045afa5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-026.xht +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media"/> - <meta name="flags" content=""/> - <meta name="assert" content="An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) { - @media all { - html { background-color: green } - } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-029.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-029.xht deleted file mode 100644 index 31105d7e33c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-029.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not (color: rainbow) or (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-030.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-030.xht deleted file mode 100644 index 82bcdea6709..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-030.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (not (color: rainbow) or (color: green)) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-031.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-031.xht deleted file mode 100644 index 871440c0889..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-031.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports (color:) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-032.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-032.xht deleted file mode 100644 index 746ad7a4932..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-032.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports not (@page) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-033.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-033.xht deleted file mode 100644 index 9130a24b0cd..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-033.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports not ({ something @with [ balanced ] parens }) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-034.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-034.xht deleted file mode 100644 index 9130a24b0cd..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-034.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports not ({ something @with [ balanced ] parens }) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-035.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-035.xht deleted file mode 100644 index 5c6b950aeff..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-035.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with unbalanced invalid syntax must fail to parse</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not ({ something @with (unbalanced parens }) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-036.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-036.xht deleted file mode 100644 index 80751e87218..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-036.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with an unrecognized condition using functional notation must evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition with an unrecognized condition using functional notation must evaluate to false."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports an-extension(of some kind) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-037.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-037.xht deleted file mode 100644 index 2e77430d2b7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-037.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) or an-extension(that is [unbalanced) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-038.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-038.xht deleted file mode 100644 index 212aaa7879d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-038.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: In an @supports rule "not(" must be parsed as a FUNCTION</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition with 'not(' must parse be parsed as a FUNCTION token."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not(unknown: unknown) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-039.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-039.xht deleted file mode 100644 index 98940cea10b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-039.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: In an @supports rule "or(" must be parsed as a FUNCTION</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="An @supports condition with 'or(' must parse be parsed as a FUNCTION token."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) or(color: blue) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-040.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-040.xht deleted file mode 100644 index b162504d104..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-040.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with empty parentheses should evaluates to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition that consists just of a pair of parentheses should evaluate to false."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports not () { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-041.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-041.xht deleted file mode 100644 index 0f25787a77e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-041.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with empty parentheses should evaluates to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition that consists just of a pair of parentheses should evaluate to false."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports () or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-042.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-042.xht deleted file mode 100644 index ed6160b3d01..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-042.xht +++ /dev/null @@ -1,18 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports ((color: green) bad) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-043.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-043.xht deleted file mode 100644 index c98b8c5c46e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-043.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with a bogus priority should evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with a bogus priority should evaluate to false"/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red; } - @supports not (color: green !bogus) { - html { background-color: green; } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-044.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-044.xht deleted file mode 100644 index 9513bcc2730..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-044.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with tokens after the priority should evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with tokens after the priority should evaluate to false"/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red; } - @supports not (color: green !important green) { - html { background-color: green; } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-045.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-045.xht deleted file mode 100644 index 6cb695582ec..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-045.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with two priorities should evaluate to false</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with two priorities should evaluate to false"/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red; } - @supports not (color: green !important !important) { - html { background-color: green; } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-046.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-046.xht deleted file mode 100644 index c7869474656..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/css-supports-046.xht +++ /dev/null @@ -1,22 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="author" title="L. David Baron" href="mailto:dbaron@dbaron.org"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media"/> - <meta name="flags" content=""/> - <meta name="assert" content="An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @media all { - @supports (color: green) { - html { background-color: green } - } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/at-supports-001-ref.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/at-supports-001-ref.xht deleted file mode 100644 index e0c4dc76257..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/at-supports-001-ref.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Reftest Reference</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <style> - div { - background-color:green; - height:100px; - width:100px; - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/at-supports-027-ref.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/at-supports-027-ref.xht deleted file mode 100644 index a1712c0be51..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/at-supports-027-ref.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Reftest Reference</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <style> - div { - background-color:green; - height:100px; - width:100px; - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/background-lime.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/background-lime.xht deleted file mode 100644 index 288d0116e56..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/background-lime.xht +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test Reference</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <style> - body { background: lime; color: black; } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/support/pass.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/support/pass.xht deleted file mode 100644 index 6f448e06a60..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reference/support/pass.xht +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>CSS Reftest Reference</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" /> - <style type="text/css"><![CDATA[ - html { background-color: green } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reftest-toc.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reftest-toc.xht deleted file mode 100644 index 81fdd193a14..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reftest-toc.xht +++ /dev/null @@ -1,710 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite Reftest Index</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite Reftest Index</h1> - <table width="100%"> - <col id="test-column"></col> - <col id="ref-column"></col> - <col id="flags-column"></col> - <thead> - <tr> - <th>Test</th> - <th>Reference</th> - <th>Flags</th> - </tr> - </thead> - <tbody id="at-media-whitespace-optional-001" class=""> - <tr> - <td rowspan="1" title="DESCRIPTION OF TEST"> - <a href="at-media-whitespace-optional-001.xht">at-media-whitespace-optional-001</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-media-whitespace-optional-002" class=""> - <tr> - <td rowspan="1" title="DESCRIPTION OF TEST"> - <a href="at-media-whitespace-optional-002.xht">at-media-whitespace-optional-002</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-001" class=""> - <tr> - <td rowspan="1" title="Support for simple passing conditions in @supports"> - <a href="at-supports-001.xht">at-supports-001</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-002" class=""> - <tr> - <td rowspan="1" title="Support for @supports within @media"> - <a href="at-supports-002.xht">at-supports-002</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-003" class=""> - <tr> - <td rowspan="1" title="Support for @media within @supports"> - <a href="at-supports-003.xht">at-supports-003</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-004" class=""> - <tr> - <td rowspan="1" title="@supports within non-matching @media should not apply"> - <a href="at-supports-004.xht">at-supports-004</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-005" class=""> - <tr> - <td rowspan="1" title="non-matching @media within @supports should not apply"> - <a href="at-supports-005.xht">at-supports-005</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-006" class=""> - <tr> - <td rowspan="1" title="Nested parens around conditions in @supports should work"> - <a href="at-supports-006.xht">at-supports-006</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-007" class=""> - <tr> - <td rowspan="1" title="Conjunctions of passing simple conditions in @supports should pass"> - <a href="at-supports-007.xht">at-supports-007</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-008" class=""> - <tr> - <td rowspan="1" title="Disjunctions with at least a passing simple condition in @supports should pass"> - <a href="at-supports-008.xht">at-supports-008</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-009" class=""> - <tr> - <td rowspan="1" title="Negations of failing simple conditions in @supports should pass"> - <a href="at-supports-009.xht">at-supports-009</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-010" class=""> - <tr> - <td rowspan="1" title="Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work"> - <a href="at-supports-010.xht">at-supports-010</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-011" class="invalid"> - <tr> - <td rowspan="1" title="Conditions not enclosed in parens in @supports should not work"> - <a href="at-supports-011.xht">at-supports-011</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-012" class=""> - <tr> - <td rowspan="1" title="Conjunctions with more than two terms in @supports should work"> - <a href="at-supports-012.xht">at-supports-012</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-013" class=""> - <tr> - <td rowspan="1" title="Disjunction with more than two terms in @supports should work"> - <a href="at-supports-013.xht">at-supports-013</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-014" class="invalid"> - <tr> - <td rowspan="1" title="Negations in @supports should not work if "not" isn't follow by a space"> - <a href="at-supports-014.xht">at-supports-014</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-015" class=""> - <tr> - <td rowspan="1" title="Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports"> - <a href="at-supports-015.xht">at-supports-015</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-016" class="invalid"> - <tr> - <td rowspan="1" title="In @supports, parens are required to mix conjunctions with disjunctions"> - <a href="at-supports-016.xht">at-supports-016</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-017" class=""> - <tr> - <td rowspan="1" title="In @supports, functions can be parsed successfully"> - <a href="at-supports-017.xht">at-supports-017</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-018" class=""> - <tr> - <td rowspan="1" title="In @supports conditions, the arguments of a function can begin with spaces"> - <a href="at-supports-018.xht">at-supports-018</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-019" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-019.xht">at-supports-019</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-020" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-020.xht">at-supports-020</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-021" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-021.xht">at-supports-021</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-022" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-022.xht">at-supports-022</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-023" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in nested @supports recovers properly"> - <a href="at-supports-023.xht">at-supports-023</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-024" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-024.xht">at-supports-024</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-025" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-025.xht">at-supports-025</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-026" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-026.xht">at-supports-026</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-027" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-027.xht">at-supports-027</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-028" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-028.xht">at-supports-028</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-029" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-029.xht">at-supports-029</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-030" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-030.xht">at-supports-030</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-031" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-031.xht">at-supports-031</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-032" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-032.xht">at-supports-032</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-033" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-033.xht">at-supports-033</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-034" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-034.xht">at-supports-034</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-035" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-035.xht">at-supports-035</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-036" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-036.xht">at-supports-036</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-037" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-037.xht">at-supports-037</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-038" class="invalid"> - <tr> - <td rowspan="1" title="a supports condition declaration can not end with a semi-colon"> - <a href="at-supports-038.xht">at-supports-038</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-039" class="invalid"> - <tr> - <td rowspan="1" title="a supports condition declaration can not end with a semi-colon"> - <a href="at-supports-039.xht">at-supports-039</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-001" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-001.xht">css-supports-001</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-002" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-002.xht">css-supports-002</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-003" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-003.xht">css-supports-003</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-004" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-004.xht">css-supports-004</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-005" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-005.xht">css-supports-005</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-006" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-006.xht">css-supports-006</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-007" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-007.xht">css-supports-007</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-008" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-008.xht">css-supports-008</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-009" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-009.xht">css-supports-009</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-010" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-010.xht">css-supports-010</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-011" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-011.xht">css-supports-011</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-012" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-012.xht">css-supports-012</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-013" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-013.xht">css-supports-013</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-014" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-014.xht">css-supports-014</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-015" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-015.xht">css-supports-015</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-016" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-016.xht">css-supports-016</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-017" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-017.xht">css-supports-017</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-018" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-018.xht">css-supports-018</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-019" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-019.xht">css-supports-019</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-020" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-020.xht">css-supports-020</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-021" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-021.xht">css-supports-021</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-022" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-022.xht">css-supports-022</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-023" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-023.xht">css-supports-023</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-024" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-024.xht">css-supports-024</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-025" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-025.xht">css-supports-025</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-026" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-026.xht">css-supports-026</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-029" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-029.xht">css-supports-029</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-030" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-030.xht">css-supports-030</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-031" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-031.xht">css-supports-031</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-032" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-032.xht">css-supports-032</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-033" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-033.xht">css-supports-033</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-034" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-034.xht">css-supports-034</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-035" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with unbalanced invalid syntax must fail to parse"> - <a href="css-supports-035.xht">css-supports-035</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-036" class=""> - <tr> - <td rowspan="1" title="An @supports rule with an unrecognized condition using functional notation must evaluate to false"> - <a href="css-supports-036.xht">css-supports-036</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-037" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse"> - <a href="css-supports-037.xht">css-supports-037</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-038" class=""> - <tr> - <td rowspan="1" title="In an @supports rule "not(" must be parsed as a FUNCTION"> - <a href="css-supports-038.xht">css-supports-038</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-039" class="invalid"> - <tr> - <td rowspan="1" title="In an @supports rule "or(" must be parsed as a FUNCTION"> - <a href="css-supports-039.xht">css-supports-039</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-040" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with empty parentheses should evaluates to false"> - <a href="css-supports-040.xht">css-supports-040</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-041" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with empty parentheses should evaluates to false"> - <a href="css-supports-041.xht">css-supports-041</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-042" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed"> - <a href="css-supports-042.xht">css-supports-042</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-043" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with a bogus priority should evaluate to false"> - <a href="css-supports-043.xht">css-supports-043</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-044" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with tokens after the priority should evaluate to false"> - <a href="css-supports-044.xht">css-supports-044</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-045" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with two priorities should evaluate to false"> - <a href="css-supports-045.xht">css-supports-045</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-046" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-046.xht">css-supports-046</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - </table> - - </body> -</html> diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reftest.list b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reftest.list deleted file mode 100644 index 96d1b4992e1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/reftest.list +++ /dev/null @@ -1,86 +0,0 @@ - -at-media-whitespace-optional-001.xht == reference/background-lime.xht -at-media-whitespace-optional-002.xht == reference/background-lime.xht -at-supports-001.xht == reference/at-supports-001-ref.xht -at-supports-002.xht == reference/at-supports-001-ref.xht -at-supports-003.xht == reference/at-supports-001-ref.xht -at-supports-004.xht == reference/at-supports-001-ref.xht -at-supports-005.xht == reference/at-supports-001-ref.xht -at-supports-006.xht == reference/at-supports-001-ref.xht -at-supports-007.xht == reference/at-supports-001-ref.xht -at-supports-008.xht == reference/at-supports-001-ref.xht -at-supports-009.xht == reference/at-supports-001-ref.xht -at-supports-010.xht == reference/at-supports-001-ref.xht -at-supports-011.xht == reference/at-supports-001-ref.xht -at-supports-012.xht == reference/at-supports-001-ref.xht -at-supports-013.xht == reference/at-supports-001-ref.xht -at-supports-014.xht == reference/at-supports-001-ref.xht -at-supports-015.xht == reference/at-supports-001-ref.xht -at-supports-016.xht == reference/at-supports-001-ref.xht -at-supports-017.xht == reference/at-supports-001-ref.xht -at-supports-018.xht == reference/at-supports-001-ref.xht -at-supports-019.xht == reference/at-supports-001-ref.xht -at-supports-020.xht == reference/at-supports-001-ref.xht -at-supports-021.xht == reference/at-supports-001-ref.xht -at-supports-022.xht == reference/at-supports-001-ref.xht -at-supports-023.xht == reference/at-supports-001-ref.xht -at-supports-024.xht == reference/at-supports-001-ref.xht -at-supports-025.xht == reference/at-supports-001-ref.xht -at-supports-026.xht == reference/at-supports-001-ref.xht -at-supports-027.xht == reference/at-supports-027-ref.xht -at-supports-028.xht == reference/at-supports-001-ref.xht -at-supports-029.xht == reference/at-supports-027-ref.xht -at-supports-030.xht == reference/at-supports-001-ref.xht -at-supports-031.xht == reference/at-supports-001-ref.xht -at-supports-032.xht == reference/at-supports-001-ref.xht -at-supports-033.xht == reference/at-supports-001-ref.xht -at-supports-034.xht == reference/at-supports-001-ref.xht -at-supports-035.xht == reference/at-supports-001-ref.xht -at-supports-036.xht == reference/at-supports-001-ref.xht -at-supports-037.xht == reference/at-supports-001-ref.xht -at-supports-038.xht == reference/at-supports-001-ref.xht -at-supports-039.xht == reference/at-supports-001-ref.xht -css-supports-001.xht == support/pass.xht -css-supports-002.xht == support/pass.xht -css-supports-003.xht == support/pass.xht -css-supports-004.xht == support/pass.xht -css-supports-005.xht == support/pass.xht -css-supports-006.xht == support/pass.xht -css-supports-007.xht == support/pass.xht -css-supports-008.xht == support/pass.xht -css-supports-009.xht == support/pass.xht -css-supports-010.xht == support/pass.xht -css-supports-011.xht == support/pass.xht -css-supports-012.xht == support/pass.xht -css-supports-013.xht == support/pass.xht -css-supports-014.xht == support/pass.xht -css-supports-015.xht == support/pass.xht -css-supports-016.xht == support/pass.xht -css-supports-017.xht == support/pass.xht -css-supports-018.xht == support/pass.xht -css-supports-019.xht == support/pass.xht -css-supports-020.xht == support/pass.xht -css-supports-021.xht == support/pass.xht -css-supports-022.xht == support/pass.xht -css-supports-023.xht == support/pass.xht -css-supports-024.xht == support/pass.xht -css-supports-025.xht == support/pass.xht -css-supports-026.xht == support/pass.xht -css-supports-029.xht == support/pass.xht -css-supports-030.xht == support/pass.xht -css-supports-031.xht == support/pass.xht -css-supports-032.xht == support/pass.xht -css-supports-033.xht == support/pass.xht -css-supports-034.xht == support/pass.xht -css-supports-035.xht == support/pass.xht -css-supports-036.xht == support/pass.xht -css-supports-037.xht == support/pass.xht -css-supports-038.xht == support/pass.xht -css-supports-039.xht == support/pass.xht -css-supports-040.xht == support/pass.xht -css-supports-041.xht == support/pass.xht -css-supports-042.xht == support/pass.xht -css-supports-043.xht == support/pass.xht -css-supports-044.xht == support/pass.xht -css-supports-045.xht == support/pass.xht -css-supports-046.xht == support/pass.xht diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/support/pass.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/support/pass.xht deleted file mode 100644 index 6f448e06a60..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/support/pass.xht +++ /dev/null @@ -1,12 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>CSS Reftest Reference</title> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" /> - <style type="text/css"><![CDATA[ - html { background-color: green } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/test_group_insertRule.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/test_group_insertRule.xht deleted file mode 100644 index 4f72c9f7560..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/test_group_insertRule.xht +++ /dev/null @@ -1,243 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Variables Allowed Syntax</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <link href="http://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface" rel="help" /> - <meta content="requirements in definition of insertRule" name="assert" /> - <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> -<style id="style"> -@media print {} -</style> -<script id="metadata_cache">/* -{ - "rule_type": {}, - "rule_length": {}, - "insert_import_throws": {}, - "insert_index_throws1": {}, - "insert_index_throws2": {}, - "insert_media_succeed": {}, - "insert_style_succeed": {}, - "insert_bad_media_throw": {}, - "insert_empty_throw": {}, - "insert_garbage_after_media_throw": {}, - "insert_garbage_after_style_throw": {}, - "insert_two_media_throw": {}, - "insert_style_media_throw": {}, - "insert_media_style_throw": {}, - "insert_two_style_throw": {}, - "insert_retval": {} -} -*/</script> -</head> -<body onload="run()"> -<div id="log"></div> -<div id="test"></div> -<script> - - var sheet = document.getElementById("style").sheet; - - var grouping_rule = sheet.cssRules[0]; - - test(function() { - assert_equals(grouping_rule.type, CSSRule.MEDIA_RULE, - "Rule type of @media rule"); - }, - "rule_type"); - - test(function() { - assert_equals(grouping_rule.cssRules.length, 0, - "Starting cssRules.length of @media rule"); - }, - "rule_length"); - - test(function() { - assert_throws("HIERARCHY_REQUEST_ERR", - function() { - grouping_rule.insertRule("@import url(foo.css);", 0); - }, - "inserting a disallowed rule should throw HIERARCHY_REQUEST_ERR"); - }, - "insert_import_throws"); - - test(function() { - assert_throws("INDEX_SIZE_ERR", - function() { - grouping_rule.insertRule("p { color: green }", 1); - }, - "inserting at a bad index throws INDEX_SIZE_ERR"); - }, - "insert_index_throws1"); - test(function() { - grouping_rule.insertRule("p { color: green }", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - grouping_rule.insertRule("p { color: blue }", 1); - assert_equals(grouping_rule.cssRules.length, 2, - "Modified cssRules.length of @media rule"); - grouping_rule.insertRule("p { color: aqua }", 1); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - assert_throws("INDEX_SIZE_ERR", - function() { - grouping_rule.insertRule("p { color: green }", 4); - }, - "inserting at a bad index throws INDEX_SIZE_ERR"); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - }, - "insert_index_throws2"); - - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - grouping_rule.insertRule("@media print {}", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - assert_equals(grouping_rule.cssRules[0].type, CSSRule.MEDIA_RULE, - "inserting syntactically correct media rule succeeds"); - }, - "insert_media_succeed"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - grouping_rule.insertRule("p { color: yellow }", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - assert_equals(grouping_rule.cssRules[0].type, CSSRule.STYLE_RULE, - "inserting syntactically correct style rule succeeds"); - }, - "insert_style_succeed"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media bad syntax;", 0); - }, - "inserting syntactically invalid rule throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_bad_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("", 0); - }, - "inserting empty rule throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_empty_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} foo", 0); - }, - "inserting rule with garbage afterwards throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_garbage_after_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } foo", 0); - }, - "inserting rule with garbage afterwards throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_garbage_after_style_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} @media print {}", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_two_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } @media print {}", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_style_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} p { color: yellow }", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_media_style_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } p { color: yellow }", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_two_style_throw"); - - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - var res = grouping_rule.insertRule("p { color: green }", 0); - assert_equals(res, 0, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - res = grouping_rule.insertRule("p { color: green }", 0); - assert_equals(res, 0, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 2, - "Modified cssRules.length of @media rule"); - res = grouping_rule.insertRule("p { color: green }", 2); - assert_equals(res, 2, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - }, - "insert_retval"); - - -</script> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/toc.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/toc.xht deleted file mode 100644 index 1c0227e5296..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1/toc.xht +++ /dev/null @@ -1,69 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> -<body> - <h1>CSS Conditional Rules Module Level 3 CR Test Suite By Chapter</h1> - - <p>This index contains both - <a href="http://wiki.csswg.org/test/selftest">self-describing tests</a> - and reftests. - A separate <a href="reftest-toc.xht">alphabetical reftest index</a> - is provided for tests in <a href="http://wiki.csswg.org/test/reftest">reftest - format</a> along with the <a href="reftest.list">reftest manifest</a>.</p> - - <table> - <tbody id="s1"> - <tr><th><a href="chapter-1.xht">Chapter 1 - - Introduction</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s2"> - <tr><th><a href="chapter-2.xht">Chapter 2 - - Processing of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s3"> - <tr><th><a href="chapter-3.xht">Chapter 3 - - Contents of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s4"> - <tr><th><a href="chapter-4.xht">Chapter 4 - - Placement of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s5"> - <tr><th><a href="chapter-5.xht">Chapter 5 - - Media-specific style sheets: the ‘@media’ rule</a></th> - <td>(4 Tests)</td></tr> - </tbody> - <tbody id="s6"> - <tr><th><a href="chapter-6.xht">Chapter 6 - - Feature queries: the ‘@supports’ rule</a></th> - <td>(84 Tests)</td></tr> - </tbody> - <tbody id="s7"> - <tr><th><a href="chapter-7.xht">Chapter 7 - - APIs</a></th> - <td>(1 Tests)</td></tr> - </tbody> - <tbody id="s8"> - <tr><th><a href="chapter-8.xht">Chapter 8 - - Conformance</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s9"> - <tr><th><a href="chapter-9.xht">Chapter 9 - - Changes</a></th> - <td>(0 Tests)</td></tr> - </tbody> - </table> -</body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/001.xht deleted file mode 100644 index da51f3e5082..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/001.xht +++ /dev/null @@ -1,224 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head><title>CSS Test (Conditional Rules): @supports rules OM support</title> -<link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> -<link href="http://opera.com" rel="author" title="Opera Software ASA" /> -<link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> -<meta content="" name="flags" /> -<script src="/resources/testharness.js"></script> -<script src="/resources/testharnessreport.js"></script> -<style> - @supports (padding: 0) { - dfn { width:0; } - @supports (width: 0) { - br { height:0; } - } - ol { display:none; } - } - @media all { - @supports (padding: 0) { - @keyframes foo { - 0% { top: 0; left: 0; } - 100% { top: 100px; left: 100px; } - } - } - } - @supports (border: black) and (padding: 0) and (width: 0) { - dfn { width:0; } - } - @supports (border: black) or (padding: 0) or (width: 0) { - dfn { width:0; } - } -</style> -<script> - /** - * Asserts tha the two strings are equal, after normalizing whitespace - * - * If the serialization of whitespace and identation ever becomes - * specified to a sufficient degree of presition, this should be - * replaced by a strict textual comparison with assert_equals. - */ - function assert_equals_normalized(a, b) { - var normal_a = a.replace(/\s+/g, " "); - var normal_b = b.replace(/\s+/g, " "); - assert_equals(normal_a, normal_b); - } - test(function(){ - var base_rule = document.styleSheets[0].cssRules[0]; - var child_rule = base_rule.cssRules[1]; - assert_equals_normalized(base_rule.cssText, - "@supports (padding: 0) {\n" - +" dfn { width: 0px; }\n" - +" @supports (width: 0) {\n" - +" br { height: 0px; }\n" - +" }\n" - +" ol { display: none; }\n" - +"}"); - assert_equals_normalized(child_rule.cssText, - "@supports (width: 0) {\n" - +" br { height: 0px; }\n" - +"}"); - }, "nested @supports serialize properly"); - - test(function(){ - var base_rule = document.styleSheets[0].cssRules[1]; - var child_rule = base_rule.cssRules[0]; - var grand_child_rule = child_rule.cssRules[0]; - assert_equals_normalized(base_rule.cssText, - "@media all {\n" - +" @supports (padding: 0) {\n" - +" @keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +" }\n" - +" }\n" - +"}"); - assert_equals_normalized(child_rule.cssText, - "@supports (padding: 0) {\n" - +" @keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +" }\n" - +"}"); - assert_equals_normalized(grand_child_rule.cssText, - "@keyframes foo {\n" - +" 0% { top: 0px; left: 0px; }\n" - +" 100% { top: 100px; left: 100px; }\n" - +"}"); - }, "@keyframes nested in @supports serialize properly"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - assert_equals(rules.length, 4); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[1].type, CSSRule.MEDIA_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - - assert_equals(rules[1].cssRules.length, 1); - assert_equals(rules[1].cssRules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[1].cssRules[0].cssRules.length, 1); - assert_equals(rules[1].cssRules[0].cssRules[0].type, CSSRule.KEYFRAMES_RULE); - - assert_equals(rules[2].cssRules.length, 1); - assert_equals(rules[2].cssRules[0].type, CSSRule.STYLE_RULE); - - assert_equals(rules[3].cssRules.length, 1); - assert_equals(rules[3].cssRules[0].type, CSSRule.STYLE_RULE); - }, "The style sheet structure is properly represented"); - - test(function(){ - document.styleSheets[0].deleteRule(1); - - var rules = document.styleSheets[0].cssRules; - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - }, "Deleting the top level of a nested structue works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].cssRules[1].insertRule("img { visibility:hidden; }", 0); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 2); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "img { visibility: hidden; }"); - assert_equals(rules[0].cssRules[1].cssRules[1].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[1].cssText, "br { height: 0px; }"); - }, "Rule insertion works in nested @supports rules"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].insertRule("@supports (left: 42px) { #foo { color:green; } }", 1); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 4); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[3].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "#foo { color: green; }"); - - assert_equals(rules[0].cssRules[2].cssRules.length, 2); - assert_equals(rules[0].cssRules[2].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[2].cssRules[0].cssText, "img { visibility: hidden; }"); - assert_equals(rules[0].cssRules[2].cssRules[1].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[2].cssRules[1].cssText, "br { height: 0px; }"); - }, "Insertion @supports rules into another @supports rule works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].deleteRule(2); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 3); - assert_equals(rules[0].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules[2].type, CSSRule.STYLE_RULE); - - assert_equals(rules[0].cssRules[1].cssRules.length, 1); - assert_equals(rules[0].cssRules[1].cssRules[0].type, CSSRule.STYLE_RULE); - assert_equals(rules[0].cssRules[1].cssRules[0].cssText, "#foo { color: green; }"); - }, "Deletion of a nested @supports rule works"); - - test(function(){ - var rules = document.styleSheets[0].cssRules; - - rules[0].insertRule("@font-face { font-familly: foo; src: url('http://www.example.com/foo'; }", 0); - - assert_equals(rules.length, 3); - assert_equals(rules[0].type, CSSRule.SUPPORTS_RULE); - assert_equals(rules[0].cssRules.length, 4); - assert_equals(rules[0].cssRules[0].type, CSSRule.FONT_FACE_RULE); - }, "Inserting @font-face inside @supports works"); - - test(function(){ - var style_rule = document.styleSheets[0].cssRules[0].cssRules[1]; - - assert_throws(new TypeError(), function() { style_rule.insertRule("@supports (width: 0) { ol { width: 0; } }", 0);} ); - - }, "Inserting an @supports inside a style rule should fail"); - test(function(){ - var rule = document.styleSheets[0].cssRules[1]; - assert_equals_normalized(rule.cssText, - "@supports (border: black) and (padding: 0) and (width: 0) {\n" - +" dfn { width: 0px; }\n" - +"}"); - }, "'and' arguments in @supports serialize in the correct order and with extra parentheses"); - test(function(){ - var rule = document.styleSheets[0].cssRules[2]; - assert_equals_normalized(rule.cssText, - "@supports (border: black) or (padding: 0) or (width: 0) {\n" - +" dfn { width: 0px; }\n" - +"}"); - }, "'or' arguments in @supports serialize in the correct order and with extra parentheses"); -</script> - -</head><body><div id="log"></div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-media-whitespace-optional-001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-media-whitespace-optional-001.xht deleted file mode 100644 index 83032b8c24f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-media-whitespace-optional-001.xht +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test: DESCRIPTION OF TEST</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <link href="reference/background-lime.xht" rel="match" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-media" rel="help" /> - <meta content="Whitespace after the MEDIA_SYM token is optional (S*)." name="assert" /> - <style> - @media{ body { background: lime; color: black; } } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-media-whitespace-optional-002.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-media-whitespace-optional-002.xht deleted file mode 100644 index d43f5c4e80f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-media-whitespace-optional-002.xht +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test: DESCRIPTION OF TEST</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <link href="reference/background-lime.xht" rel="match" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-media" rel="help" /> - <meta content="Whitespace after the MEDIA_SYM token is optional (S*)." name="assert" /> - <style> - @media(min-width:0px){ body { background: lime; color: black; } } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-001.xht deleted file mode 100644 index ae79f3b08eb..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-001.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Support for simple passing conditions in @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0) { - div { background-color:green; } - } - </style> -</head> -<body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div> - </div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-002.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-002.xht deleted file mode 100644 index ab29033f4d8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-002.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Support for @supports within @media</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @media all { - @supports (margin: 0) { - div { background-color:green; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-003.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-003.xht deleted file mode 100644 index 0e1b4dd8424..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-003.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Support for @media within @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0) { - @media all{ - div { background-color:green; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-004.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-004.xht deleted file mode 100644 index 94040a36b18..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-004.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): @supports within non-matching @media should not apply</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @media not all { - @supports (margin: 0) { - div { background-color:red; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-005.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-005.xht deleted file mode 100644 index af7ea763c11..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-005.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): non-matching @media within @supports should not apply</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports (margin: 0) { - @media not all { - div { background-color:red; } - } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-006.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-006.xht deleted file mode 100644 index 4594fa87ade..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-006.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Nested parens around conditions in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-007.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-007.xht deleted file mode 100644 index 444f395cc8d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-007.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Conjunctions of passing simple conditions in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) and (display:inline-block !important)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-008.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-008.xht deleted file mode 100644 index a7399c15741..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-008.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Disjunctions with at least a passing simple condition in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) or (foo: 15em)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-009.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-009.xht deleted file mode 100644 index a99d07f91e2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-009.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Negations of failing simple conditions in @supports should pass</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (not (yadayada: x, calc( 2/3 ))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-010.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-010.xht deleted file mode 100644 index c998ef9748e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-010.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((yada: 2kg !trivial) or ((not (foo:bar)) and (((visibility:hidden))))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-011.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-011.xht deleted file mode 100644 index 449781af327..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-011.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Conditions not enclosed in parens in @supports should not work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports margin: 0 { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-012.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-012.xht deleted file mode 100644 index d641d322bb4..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-012.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Conjunctions with more than two terms in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin: 0) and (background: blue) and (padding:inherit)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-013.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-013.xht deleted file mode 100644 index 1df5407c6a1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-013.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Disjunction with more than two terms in @supports should work</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((yoyo: yaya) or (margin: 0) or (answer: 42)) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-014.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-014.xht deleted file mode 100644 index 5d28b673bff..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-014.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Negations in @supports should not work if "not" isn't follow by a space</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (width: 0) { - div { background-color:green; } - } - @supports not(foo: baz) { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-015.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-015.xht deleted file mode 100644 index 86ada1c6257..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-015.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (not (foo: baz !unrelated $ ,/[&])) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-016.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-016.xht deleted file mode 100644 index 36af55cbde8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-016.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): In @supports, parens are required to mix conjunctions with disjunctions</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div{ - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports ((margin: 0) and (display: inline) or (width:1em)) { - div { background-color:red; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-017.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-017.xht deleted file mode 100644 index e680afa5319..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-017.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): In @supports, functions can be parsed successfully</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background:red; - height:100px; - width:100px; - } - @supports (background: url("http://www.example.com/foo.jpg")) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-018.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-018.xht deleted file mode 100644 index 0912f1c11e0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-018.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): In @supports conditions, the arguments of a function can begin with spaces</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="" name="flags" /> - <style> - div { - background:red; - height:100px; - width:100px; - } - @supports (not (width:compute( 2px + 2px ))) { - div { background-color:green; } - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-019.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-019.xht deleted file mode 100644 index 32ac1df001c..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-019.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: ) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-020.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-020.xht deleted file mode 100644 index 35bae5d3d6d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-020.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 2px) ) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-021.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-021.xht deleted file mode 100644 index 81a2a29f241..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-021.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0 ); - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-022.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-022.xht deleted file mode 100644 index 7b276f971c5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-022.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports [margin: 0] { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-023.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-023.xht deleted file mode 100644 index be76eed08f6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-023.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in nested @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @media all { - @supports (width: 0)) {} - @supports (margin:0) { div { background-color:green !important; } } - } - div { background-color:red; } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-024.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-024.xht deleted file mode 100644 index b2e9700bee6..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-024.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-025.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-025.xht deleted file mode 100644 index 37016d7dd38..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-025.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ((margin:0) and [padding:0]) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-026.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-026.xht deleted file mode 100644 index 3895bae54f2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-026.xht +++ /dev/null @@ -1,26 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0]) { - div { background-color:red !important; } - } - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-027.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-027.xht deleted file mode 100644 index 29038ad7024..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-027.xht +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-027-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - @supports (margin:0) { div { background-color:green; } } - div { - height:100px; - width:100px; - } - @supports (margin: 0) - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-028.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-028.xht deleted file mode 100644 index 675e9a55c0f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-028.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0)) {} - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-029.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-029.xht deleted file mode 100644 index adfd9ba2220..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-029.xht +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-027-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - @supports (margin:0) { div { background-color:green; } } - div { - height:100px; - width:100px; - } - @supports (margin: 0) ! - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-030.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-030.xht deleted file mode 100644 index 4c88cc5b6ff..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-030.xht +++ /dev/null @@ -1,25 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin:0) { div { background-color:green; } } - @supports ((margin: 0) and ; - div { background-color:red; } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-031.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-031.xht deleted file mode 100644 index db0fcbe10e1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-031.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports (margin: 0)) ; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-032.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-032.xht deleted file mode 100644 index 29bc6416705..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-032.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports {} - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-033.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-033.xht deleted file mode 100644 index ab5732894f8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-033.xht +++ /dev/null @@ -1,24 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test (Conditional Rules): Incorrect syntax in @supports recovers properly</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <style> - div { - background-color:red; - height:100px; - width:100px; - } - @supports ; - @supports (margin:0) { div { background-color:green; } } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-034.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-034.xht deleted file mode 100644 index c20ae695d52..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-034.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0 or padding: 0) { div {background-color: red !important;} } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-035.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-035.xht deleted file mode 100644 index 4ffd1b2d4e8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-035.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0 or padding: 0) { div {background-color: red;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-036.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-036.xht deleted file mode 100644 index 9e05fa60c85..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-036.xht +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0 and padding: 0) - { - div {background-color: red !important;} - } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-037.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-037.xht deleted file mode 100644 index bbe64fb139f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-037.xht +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): Incorrect syntax of supports condition</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0 and padding: 0) { div {background-color: red;} } - - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-038.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-038.xht deleted file mode 100644 index 39797e5a4d8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-038.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0;) { div {background-color: red !important;} } - - @supports (margin: 0) { div {background-color: green;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-039.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-039.xht deleted file mode 100644 index 51b65d47de0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/at-supports-039.xht +++ /dev/null @@ -1,42 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <meta charset="utf-8" /> - <title>CSS Test (Conditional Rules): a supports condition declaration can not end with a semi-colon</title> - <link href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" rel="author" title="Gérard Talbot" /> - <link href="http://www.w3.org/TR/css3-conditional/#at-supports" rel="help" title="6. Feature queries: the '@supports' rule" /> - <link href="reference/at-supports-001-ref.xht" rel="match" /> - <meta content="invalid" name="flags" /> - <meta content="Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se." name="assert" /> - - <!-- - - supports_condition_in_parens - : ( '(' S* supports_condition ')' S* ) | supports_declaration_condition | - general_enclosed - ; - - --> - - <style> - div - { - background-color: red; - height: 100px; - width: 100px; - } - - @supports (margin: 0) { div {background-color: green;} } - - @supports (margin: 0;) { div {background-color: red;} } - </style> - </head> - - <body> - - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - - <div></div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-1.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-1.xht deleted file mode 100644 index 572d0e3a765..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-1.xht +++ /dev/null @@ -1,57 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Introduction - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Introduction (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#introduction">1 Introduction</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#context">1.1 Background</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#placement">1.2 Module Interactions</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s1.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s1.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conventions">1.3 Document Conventions</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-2.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-2.xht deleted file mode 100644 index af27003e1e4..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-2.xht +++ /dev/null @@ -1,42 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Processing of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Processing of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#processing">2 Processing of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s2.#conditional-group-rules"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-3.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-3.xht deleted file mode 100644 index 910043fa3dc..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-3.xht +++ /dev/null @@ -1,48 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Contents of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Contents of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#contents-of">3 Contents of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#group-rule-body"> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#group_rule_body"> - <!-- 0 tests --> - </tbody> - <tbody id="s3.#nested_statement"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-4.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-4.xht deleted file mode 100644 index 48de761eed8..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-4.xht +++ /dev/null @@ -1,39 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Placement of conditional group rules - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Placement of conditional group rules (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#use">4 Placement of conditional group rules</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-5.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-5.xht deleted file mode 100644 index 01b309fa33b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-5.xht +++ /dev/null @@ -1,89 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Media-specific style sheets: the ‘@media’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Media-specific style sheets: the ‘@media’ rule (4 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#at-media">5 Media-specific style sheets: the ‘@media’ rule</a></th></tr> - <!-- 4 tests --> - <tr id="at-media-whitespace-optional-001-5" class=""> - <td> - <a href="at-media-whitespace-optional-001.xht">at-media-whitespace-optional-001</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td></td> - <td>DESCRIPTION OF TEST - <ul class="assert"> - <li>Whitespace after the MEDIA_SYM token is optional (S*).</li> - </ul> - </td> - </tr> - <tr id="at-media-whitespace-optional-002-5" class=""> - <td> - <a href="at-media-whitespace-optional-002.xht">at-media-whitespace-optional-002</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td></td> - <td>DESCRIPTION OF TEST - <ul class="assert"> - <li>Whitespace after the MEDIA_SYM token is optional (S*).</li> - </ul> - </td> - </tr> - <tr id="css-supports-026-5" class=""> - <td> - <a href="css-supports-026.xht">css-supports-026</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-046-5" class=""> - <td> - <a href="css-supports-046.xht">css-supports-046</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s5.#atmedia-rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s5.#media"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-6.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-6.xht deleted file mode 100644 index 7e2c14441c0..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-6.xht +++ /dev/null @@ -1,903 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Feature queries: the ‘@supports’ rule - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Feature queries: the ‘@supports’ rule (84 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s6"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s6">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#at-supports">6 Feature queries: the ‘@supports’ rule</a></th></tr> - <!-- 84 tests --> - <tr id="001-6" class="script"> - <td> - <a href="001.xht">001</a></td> - <td></td> - <td><abbr class="script" title="Executes tests in script">Script</abbr></td> - <td>@supports rules OM support - </td> - </tr> - <tr id="at-supports-001-6" class=""> - <td> - <a href="at-supports-001.xht">at-supports-001</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Support for simple passing conditions in @supports - </td> - </tr> - <tr id="at-supports-002-6" class=""> - <td> - <a href="at-supports-002.xht">at-supports-002</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Support for @supports within @media - </td> - </tr> - <tr id="at-supports-003-6" class=""> - <td> - <a href="at-supports-003.xht">at-supports-003</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Support for @media within @supports - </td> - </tr> - <tr id="at-supports-004-6" class=""> - <td> - <a href="at-supports-004.xht">at-supports-004</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>@supports within non-matching @media should not apply - </td> - </tr> - <tr id="at-supports-005-6" class=""> - <td> - <a href="at-supports-005.xht">at-supports-005</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>non-matching @media within @supports should not apply - </td> - </tr> - <tr id="at-supports-006-6" class=""> - <td> - <a href="at-supports-006.xht">at-supports-006</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Nested parens around conditions in @supports should work - </td> - </tr> - <tr id="at-supports-007-6" class=""> - <td> - <a href="at-supports-007.xht">at-supports-007</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Conjunctions of passing simple conditions in @supports should pass - </td> - </tr> - <tr id="at-supports-008-6" class=""> - <td> - <a href="at-supports-008.xht">at-supports-008</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Disjunctions with at least a passing simple condition in @supports should pass - </td> - </tr> - <tr id="at-supports-009-6" class=""> - <td> - <a href="at-supports-009.xht">at-supports-009</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Negations of failing simple conditions in @supports should pass - </td> - </tr> - <tr id="at-supports-010-6" class=""> - <td> - <a href="at-supports-010.xht">at-supports-010</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work - </td> - </tr> - <tr id="at-supports-011-6" class="invalid"> - <td> - <a href="at-supports-011.xht">at-supports-011</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Conditions not enclosed in parens in @supports should not work - </td> - </tr> - <tr id="at-supports-012-6" class=""> - <td> - <a href="at-supports-012.xht">at-supports-012</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Conjunctions with more than two terms in @supports should work - </td> - </tr> - <tr id="at-supports-013-6" class=""> - <td> - <a href="at-supports-013.xht">at-supports-013</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Disjunction with more than two terms in @supports should work - </td> - </tr> - <tr id="at-supports-014-6" class="invalid"> - <td> - <a href="at-supports-014.xht">at-supports-014</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Negations in @supports should not work if "not" isn't follow by a space - </td> - </tr> - <tr id="at-supports-015-6" class=""> - <td> - <a href="at-supports-015.xht">at-supports-015</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports - </td> - </tr> - <tr id="at-supports-016-6" class="invalid"> - <td> - <a href="at-supports-016.xht">at-supports-016</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>In @supports, parens are required to mix conjunctions with disjunctions - </td> - </tr> - <tr id="at-supports-017-6" class=""> - <td> - <a href="at-supports-017.xht">at-supports-017</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>In @supports, functions can be parsed successfully - </td> - </tr> - <tr id="at-supports-018-6" class=""> - <td> - <a href="at-supports-018.xht">at-supports-018</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td></td> - <td>In @supports conditions, the arguments of a function can begin with spaces - </td> - </tr> - <tr id="at-supports-019-6" class="invalid"> - <td> - <a href="at-supports-019.xht">at-supports-019</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-020-6" class="invalid"> - <td> - <a href="at-supports-020.xht">at-supports-020</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-021-6" class="invalid"> - <td> - <a href="at-supports-021.xht">at-supports-021</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-022-6" class="invalid"> - <td> - <a href="at-supports-022.xht">at-supports-022</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-023-6" class="invalid"> - <td> - <a href="at-supports-023.xht">at-supports-023</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in nested @supports recovers properly - </td> - </tr> - <tr id="at-supports-024-6" class="invalid"> - <td> - <a href="at-supports-024.xht">at-supports-024</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-025-6" class="invalid"> - <td> - <a href="at-supports-025.xht">at-supports-025</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-026-6" class="invalid"> - <td> - <a href="at-supports-026.xht">at-supports-026</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-027-6" class="invalid"> - <td> - <a href="at-supports-027.xht">at-supports-027</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-028-6" class="invalid"> - <td> - <a href="at-supports-028.xht">at-supports-028</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-029-6" class="invalid"> - <td> - <a href="at-supports-029.xht">at-supports-029</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-030-6" class="invalid"> - <td> - <a href="at-supports-030.xht">at-supports-030</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-031-6" class="invalid"> - <td> - <a href="at-supports-031.xht">at-supports-031</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-032-6" class="invalid"> - <td> - <a href="at-supports-032.xht">at-supports-032</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-033-6" class="invalid"> - <td> - <a href="at-supports-033.xht">at-supports-033</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax in @supports recovers properly - </td> - </tr> - <tr id="at-supports-034-6" class="invalid"> - <td> - <a href="at-supports-034.xht">at-supports-034</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-035-6" class="invalid"> - <td> - <a href="at-supports-035.xht">at-supports-035</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-036-6" class="invalid"> - <td> - <a href="at-supports-036.xht">at-supports-036</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-037-6" class="invalid"> - <td> - <a href="at-supports-037.xht">at-supports-037</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>Incorrect syntax of supports condition - <ul class="assert"> - <li>Each individual single supports condition must be enclosed by one opening parenthesis '(' and one closing parenthesis ')'.</li> - </ul> - </td> - </tr> - <tr id="at-supports-038-6" class="invalid"> - <td> - <a href="at-supports-038.xht">at-supports-038</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>a supports condition declaration can not end with a semi-colon - <ul class="assert"> - <li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li> - </ul> - </td> - </tr> - <tr id="at-supports-039-6" class="invalid"> - <td> - <a href="at-supports-039.xht">at-supports-039</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>a supports condition declaration can not end with a semi-colon - <ul class="assert"> - <li>Each individual single supports condition declaration can not end up with a semi-colon ';'. A semi-colon is a punctuation separator of multiple CSS declarations and thus is not part of an individual CSS declaration per se.</li> - </ul> - </td> - </tr> - <tr id="css-supports-001-6" class=""> - <td> - <a href="css-supports-001.xht">css-supports-001</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply.</li> - </ul> - </td> - </tr> - <tr id="css-supports-002-6" class="invalid"> - <td> - <a href="css-supports-002.xht">css-supports-002</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>Property declarations in an @supports rule condition must be surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-003-6" class=""> - <td> - <a href="css-supports-003.xht">css-supports-003</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-004-6" class=""> - <td> - <a href="css-supports-004.xht">css-supports-004</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>Property declarations in an @supports rule can have !important specified.</li> - </ul> - </td> - </tr> - <tr id="css-supports-005-6" class=""> - <td> - <a href="css-supports-005.xht">css-supports-005</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A supported property with an unsupported value must cause the @supports condition to fail.</li> - </ul> - </td> - </tr> - <tr id="css-supports-006-6" class=""> - <td> - <a href="css-supports-006.xht">css-supports-006</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-007-6" class=""> - <td> - <a href="css-supports-007.xht">css-supports-007</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-008-6" class=""> - <td> - <a href="css-supports-008.xht">css-supports-008</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-009-6" class=""> - <td> - <a href="css-supports-009.xht">css-supports-009</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-010-6" class=""> - <td> - <a href="css-supports-010.xht">css-supports-010</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-011-6" class=""> - <td> - <a href="css-supports-011.xht">css-supports-011</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes.</li> - </ul> - </td> - </tr> - <tr id="css-supports-012-6" class=""> - <td> - <a href="css-supports-012.xht">css-supports-012</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-013-6" class="invalid"> - <td> - <a href="css-supports-013.xht">css-supports-013</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-014-6" class="invalid"> - <td> - <a href="css-supports-014.xht">css-supports-014</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-015-6" class=""> - <td> - <a href="css-supports-015.xht">css-supports-015</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-016-6" class=""> - <td> - <a href="css-supports-016.xht">css-supports-016</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-017-6" class="invalid"> - <td> - <a href="css-supports-017.xht">css-supports-017</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>The sub-condition of a negation in an @supports condition must be in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-018-6" class=""> - <td> - <a href="css-supports-018.xht">css-supports-018</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>The sub-condition of a negation in an @supports condition must be in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-019-6" class="invalid"> - <td> - <a href="css-supports-019.xht">css-supports-019</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with invalid syntax must not apply rules inside it - <ul class="assert"> - <li>A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-020-6" class=""> - <td> - <a href="css-supports-020.xht">css-supports-020</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>An @supports condition that is a declaration with a supported property name with an unsupported value must fail.</li> - </ul> - </td> - </tr> - <tr id="css-supports-021-6" class=""> - <td> - <a href="css-supports-021.xht">css-supports-021</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax but a failing condition must not apply rules inside it - <ul class="assert"> - <li>A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property.</li> - </ul> - </td> - </tr> - <tr id="css-supports-022-6" class=""> - <td> - <a href="css-supports-022.xht">css-supports-022</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse even if a declaration has an empty property value.</li> - </ul> - </td> - </tr> - <tr id="css-supports-023-6" class=""> - <td> - <a href="css-supports-023.xht">css-supports-023</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-024-6" class=""> - <td> - <a href="css-supports-024.xht">css-supports-024</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A supported shorthand property declaration must be considered to pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-025-6" class=""> - <td> - <a href="css-supports-025.xht">css-supports-025</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded.</li> - </ul> - </td> - </tr> - <tr id="css-supports-026-6" class=""> - <td> - <a href="css-supports-026.xht">css-supports-026</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - <tr id="css-supports-029-6" class=""> - <td> - <a href="css-supports-029.xht">css-supports-029</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-030-6" class=""> - <td> - <a href="css-supports-030.xht">css-supports-030</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-031-6" class=""> - <td> - <a href="css-supports-031.xht">css-supports-031</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax within parentheses must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-032-6" class=""> - <td> - <a href="css-supports-032.xht">css-supports-032</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax.</li> - </ul> - </td> - </tr> - <tr id="css-supports-033-6" class=""> - <td> - <a href="css-supports-033.xht">css-supports-033</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-034-6" class=""> - <td> - <a href="css-supports-034.xht">css-supports-034</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with balanced invalid syntax must evaluate to false - <ul class="assert"> - <li>An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses.</li> - </ul> - </td> - </tr> - <tr id="css-supports-035-6" class="invalid"> - <td> - <a href="css-supports-035.xht">css-supports-035</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with unbalanced invalid syntax must fail to parse - <ul class="assert"> - <li>An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-036-6" class=""> - <td> - <a href="css-supports-036.xht">css-supports-036</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule with an unrecognized condition using functional notation must evaluate to false - <ul class="assert"> - <li>An @supports condition with an unrecognized condition using functional notation must evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-037-6" class="invalid"> - <td> - <a href="css-supports-037.xht">css-supports-037</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse - <ul class="assert"> - <li>An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-038-6" class=""> - <td> - <a href="css-supports-038.xht">css-supports-038</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>In an @supports rule "not(" must be parsed as a FUNCTION - <ul class="assert"> - <li>An @supports condition with 'not(' must parse be parsed as a FUNCTION token.</li> - </ul> - </td> - </tr> - <tr id="css-supports-039-6" class="invalid"> - <td> - <a href="css-supports-039.xht">css-supports-039</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - <td>In an @supports rule "or(" must be parsed as a FUNCTION - <ul class="assert"> - <li>An @supports condition with 'or(' must parse be parsed as a FUNCTION token.</li> - </ul> - </td> - </tr> - <tr id="css-supports-040-6" class=""> - <td> - <a href="css-supports-040.xht">css-supports-040</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with empty parentheses should evaluates to false - <ul class="assert"> - <li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-041-6" class=""> - <td> - <a href="css-supports-041.xht">css-supports-041</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with empty parentheses should evaluates to false - <ul class="assert"> - <li>An @supports rule condition that consists just of a pair of parentheses should evaluate to false.</li> - </ul> - </td> - </tr> - <tr id="css-supports-042-6" class=""> - <td> - <a href="css-supports-042.xht">css-supports-042</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed - <ul class="assert"> - <li>An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse.</li> - </ul> - </td> - </tr> - <tr id="css-supports-043-6" class=""> - <td> - <a href="css-supports-043.xht">css-supports-043</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with a bogus priority should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with a bogus priority should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-044-6" class=""> - <td> - <a href="css-supports-044.xht">css-supports-044</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with tokens after the priority should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with tokens after the priority should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-045-6" class=""> - <td> - <a href="css-supports-045.xht">css-supports-045</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>An @supports rule condition with two priorities should evaluate to false - <ul class="assert"> - <li>An @supports rule condition with two priorities should evaluate to false</li> - </ul> - </td> - </tr> - <tr id="css-supports-046-6" class=""> - <td> - <a href="css-supports-046.xht">css-supports-046</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td></td> - <td>A nested @supports rule with valid syntax and a passing condition must apply rules inside it - <ul class="assert"> - <li>An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass.</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s6.#atsupports-rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#general_enclosed"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#or"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_condition"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_condition_in_parens"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_conjunction"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_declaration_condition"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_disjunction"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_negation"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_rule"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.#supports_sym"> - <!-- 0 tests --> - </tbody> - <tbody id="s6.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s6.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#support-definition">6.1 Definition of support</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s6.1.#dfn-support"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-7.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-7.xht deleted file mode 100644 index 14a328fae28..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-7.xht +++ /dev/null @@ -1,101 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>APIs - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>APIs (1 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s7"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#apis">7 APIs</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#extentions-to-cssrule-interface">7.1 Extensions to the CSSRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface">7.2 The CSSGroupingRule interface</a></th></tr> - <!-- 1 tests --> - <tr id="test_group_insertrule-7.2" class="script"> - <td> - <a href="test_group_insertRule.xht">test_group_insertrule</a></td> - <td></td> - <td><abbr class="script" title="Executes tests in script">Script</abbr></td> - <td>CSS Variables Allowed Syntax - <ul class="assert"> - <li>requirements in definition of insertRule</li> - </ul> - </td> - </tr> - </tbody> - <tbody id="s7.2.#cssgroupingrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssconditionrule-interface">7.3 The CSSConditionRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.3.#cssconditionrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-cssmediarule-interface">7.4 The CSSMediaRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.4.#cssmediarule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-csssupportsrule-interface">7.5 The CSSSupportsRule interface</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.5.#csssupportsrule"> - <!-- 0 tests --> - </tbody> - <tbody id="s7.6"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s7.6">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#the-css-interface">7.6 The CSS interface, and the supports() function</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s7.6.#CSS-interface"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-8.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-8.xht deleted file mode 100644 index 9e74011a264..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-8.xht +++ /dev/null @@ -1,78 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Conformance - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Conformance (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s8"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conformance">8 Conformance</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.1"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.1">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#base-modules">8.1 Base Modules</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.2">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#conformance-classes">8.2 Conformance Classes</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-authoring-tool"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-processor"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.2.#conform-style-sheet"> - <!-- 0 tests --> - </tbody> - <tbody id="s8.3"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.3">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#partial">8.3 Partial Implementations</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.4"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.4">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#experimental">8.4 Experimental Implementations</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s8.5"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s8.5">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#cr-exit-criteria">8.5 CR Exit Criteria</a></th></tr> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-9.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-9.xht deleted file mode 100644 index 0ca64583b57..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/chapter-9.xht +++ /dev/null @@ -1,90 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>Changes - CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite</h1> - <h2>Changes (0 tests)</h2> - <table width="100%"> - <col id="test-column"></col> - <col id="refs-column"></col> - <col id="flags-column"></col> - <col id="info-column"></col> - <thead> - <tr> - <th>Test</th> - <th><abbr title="Rendering References">Refs</abbr></th> - <th>Flags</th> - <th>Info</th> - </tr> - </thead> - <tbody id="s9"> - <tr><th colspan="4" scope="rowgroup"> - <a href="#s9">+</a> - <a href="https://www.w3.org/TR/css3-conditional/#changes">9 Changes</a></th></tr> - <!-- 0 tests --> - </tbody> - <tbody id="s.#abstract"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#acknowledgments"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#contents"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#grammar"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#index"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#longstatus-date"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#references"> - <!-- 0 tests --> - </tbody> - <tbody id="s.#status"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS21"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS3-ANIMATIONS"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#CSS3-FONTS"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#MEDIAQ"> - <!-- 0 tests --> - </tbody> - <tbody id="snormative-references.#RFC2119"> - <!-- 0 tests --> - </tbody> - <tbody id="sother-references.#CSS1"> - <!-- 0 tests --> - </tbody> - <tbody id="sother-references.#CSS3-TRANSITIONS"> - <!-- 0 tests --> - </tbody> - <tbody id="sreferences.#normative-references"> - <!-- 0 tests --> - </tbody> - <tbody id="sreferences.#other-references"> - <!-- 0 tests --> - </tbody> - </table> - - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-001.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-001.xht deleted file mode 100644 index bf0ce0295f1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-001.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-001"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with a single, valid property declaration for a supported property must cause the rules inside the @supports rule to apply."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-002.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-002.xht deleted file mode 100644 index fae9e985db4..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-002.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-002"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="Property declarations in an @supports rule condition must be surrounded by parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports color: green { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-003.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-003.xht deleted file mode 100644 index e9bf02cf928..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-003.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-003"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="Any subexpression in an @supports rule condition can be surrounded by an extra pair of parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports ((color: green)) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-004.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-004.xht deleted file mode 100644 index 60e6b21a250..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-004.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-004"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="Property declarations in an @supports rule can have !important specified."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green !important) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-005.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-005.xht deleted file mode 100644 index 52911775e22..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-005.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-005"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A supported property with an unsupported value must cause the @supports condition to fail."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: rainbow) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-006.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-006.xht deleted file mode 100644 index 2fdb92a0975..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-006.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-006"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the left condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: rainbow) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-007.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-007.xht deleted file mode 100644 index 05e6c175310..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-007.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-007"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if the right condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) or (color: rainbow) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-008.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-008.xht deleted file mode 100644 index 1eeb9ab0937..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-008.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-008"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to pass if both sub-conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) and (color: blue) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-009.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-009.xht deleted file mode 100644 index 4d3ea4e2a7b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-009.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-009"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the left sub-condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: rainbow) and (color: blue) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-010.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-010.xht deleted file mode 100644 index 8a283cf9d4f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-010.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-010"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of two @supports conditions must cause the @supports condition to fail if the right sub-condition passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: blue) and (color: rainbow) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-011.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-011.xht deleted file mode 100644 index 67e45e8db7a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-011.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-011"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of three @supports conditions must cause the @supports condition to pass if at least one of the sub-conditions passes."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: rainbow) or (color: iridescent) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-012.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-012.xht deleted file mode 100644 index 4aa76c9793d..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-012.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-012"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A conjunction of three @supports conditions must cause the @supports condition to pass if all three sub-conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: red) and (color: green) and (color: blue) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-013.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-013.xht deleted file mode 100644 index f60ecf1c0bd..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-013.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-013"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) and (color: green) or (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-014.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-014.xht deleted file mode 100644 index c8fb9cd6a8e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-014.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-014"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="A disjunction and a conjunction of @supports conditions must not be combined unless one of the two is surrounded by parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) or (color: green) and (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-015.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-015.xht deleted file mode 100644 index 7832738701b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-015.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-015"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="There need not be any white space between the '@supports' and open brace of the rule set, nor between a declaration's property name and value."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports(color:green){ - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-016.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-016.xht deleted file mode 100644 index a062f5f0240..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-016.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-016"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A negation of an @supports condition must pass if and only if the sub-condition fails. The sub-condition here is a supported property name with an unsupported value."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports not (color: rainbow) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-017.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-017.xht deleted file mode 100644 index 3ccf187779b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-017.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-017"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not not (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-018.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-018.xht deleted file mode 100644 index b288ae88af9..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-018.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-018"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="The sub-condition of a negation in an @supports condition must be in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports not (not (color: green)) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-019.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-019.xht deleted file mode 100644 index 14de7aad1fe..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-019.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with invalid syntax must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-019"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="A conjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not (color: rainbow) and not (color: iridescent) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-020.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-020.xht deleted file mode 100644 index d289a52f4a7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-020.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-020"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition that is a declaration with a supported property name with an unsupported value must fail."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (unknown: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-021.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-021.xht deleted file mode 100644 index 002596e14e2..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-021.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax but a failing condition must not apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-021"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction of two @supports conditions must cause the @supports condition to pass if one condition passes and the other fails due to being an unsupported property."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (unknown: green) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-022.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-022.xht deleted file mode 100644 index c8eb398a095..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-022.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-022"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse even if a declaration has an empty property value."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports (unknown:) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-023.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-023.xht deleted file mode 100644 index 88614e28e37..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-023.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-023"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports (unknown) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-024.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-024.xht deleted file mode 100644 index 7ce8fbe3aad..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-024.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-024"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A supported shorthand property declaration must be considered to pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (font: 16px serif) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-025.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-025.xht deleted file mode 100644 index 01b28a8124b..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-025.xht +++ /dev/null @@ -1,29 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-025"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An inner @supports rule inside an outer @supports must apply its child rules only if both @supports conditions succeeded."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) { - @supports (color: blue) { - html { background-color: green } - } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-026.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-026.xht deleted file mode 100644 index 37e7c0b4f68..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-026.xht +++ /dev/null @@ -1,30 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-026"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media"/> - <meta name="flags" content=""/> - <meta name="assert" content="An outer @supports rule with an inner @media rule must apply the rules inside the @media only if both the @supports and @media conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports (color: green) { - @media all { - html { background-color: green } - } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-029.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-029.xht deleted file mode 100644 index ee4071b3213..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-029.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-029"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not (color: rainbow) or (color: green) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-030.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-030.xht deleted file mode 100644 index ae557784e1f..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-030.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-030"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="A disjunction in an @supports condition must have both sub-conditions enclosed in parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (not (color: rainbow) or (color: green)) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-031.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-031.xht deleted file mode 100644 index 2e5252d1340..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-031.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax within parentheses must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-031"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports (color:) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-032.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-032.xht deleted file mode 100644 index 21b1cdda3c3..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-032.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-032"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse and evaluate to false a parenthesized expression has invalid syntax."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports not (@page) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-033.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-033.xht deleted file mode 100644 index 4329ac4bc3e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-033.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-033"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports not ({ something @with [ balanced ] parens }) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-034.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-034.xht deleted file mode 100644 index cf50d4ef4d7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-034.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with balanced invalid syntax must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-034"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition must successfully parse a parenthesized expression that has invalid syntax with balanced parentheses."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports not ({ something @with [ balanced ] parens }) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-035.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-035.xht deleted file mode 100644 index dbf0f03acab..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-035.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with unbalanced invalid syntax must fail to parse</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-035"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="An @supports condition with a parenthesized expression that has unbalanced parentheses must fail to parse."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not ({ something @with (unbalanced parens }) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-036.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-036.xht deleted file mode 100644 index f46b222e191..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-036.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with an unrecognized condition using functional notation must evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-036"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition with an unrecognized condition using functional notation must evaluate to false."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red } - @supports an-extension(of some kind) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-037.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-037.xht deleted file mode 100644 index f13c0e9c69e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-037.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-037"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="An @supports condition with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) or an-extension(that is [unbalanced) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-038.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-038.xht deleted file mode 100644 index 40003fabfe3..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-038.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: In an @supports rule "not(" must be parsed as a FUNCTION</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-038"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports condition with 'not(' must parse be parsed as a FUNCTION token."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports not(unknown: unknown) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-039.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-039.xht deleted file mode 100644 index 08d58eab8f7..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-039.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: In an @supports rule "or(" must be parsed as a FUNCTION</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-039"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content="invalid"/> - <meta name="assert" content="An @supports condition with 'or(' must parse be parsed as a FUNCTION token."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: green } - @supports (color: green) or(color: blue) { - html { background-color: red } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-040.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-040.xht deleted file mode 100644 index 142288b7c98..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-040.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with empty parentheses should evaluates to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-040"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition that consists just of a pair of parentheses should evaluate to false."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports not () { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-041.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-041.xht deleted file mode 100644 index 73eba1aad53..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-041.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with empty parentheses should evaluates to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-041"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition that consists just of a pair of parentheses should evaluate to false."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports () or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-042.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-042.xht deleted file mode 100644 index 9daebc8dfa5..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-042.xht +++ /dev/null @@ -1,27 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-042"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition that has an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed and evaluate to false rather than fail to parse."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @supports ((color: green) bad) or (color: green) { - html { background-color: green } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-043.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-043.xht deleted file mode 100644 index 84de2ca921e..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-043.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with a bogus priority should evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-043"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with a bogus priority should evaluate to false"/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red; } - @supports not (color: green !bogus) { - html { background-color: green; } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-044.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-044.xht deleted file mode 100644 index f7acb096138..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-044.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with tokens after the priority should evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-044"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with tokens after the priority should evaluate to false"/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red; } - @supports not (color: green !important green) { - html { background-color: green; } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-045.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-045.xht deleted file mode 100644 index 6c376f7e8ac..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-045.xht +++ /dev/null @@ -1,28 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: An @supports rule condition with two priorities should evaluate to false</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-045"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <meta name="flags" content=""/> - <meta name="assert" content="An @supports rule condition with two priorities should evaluate to false"/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - html { background-color: red; } - @supports not (color: green !important !important) { - html { background-color: green; } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-046.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-046.xht deleted file mode 100644 index 5258cdae980..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/css-supports-046.xht +++ /dev/null @@ -1,31 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Test: A nested @supports rule with valid syntax and a passing condition must apply rules inside it</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test css-supports-046"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au"/> - <link rel="author" title="L. David Baron" href="mailto:dbaron@dbaron.org"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-supports"/> - <link rel="help" href="http://www.w3.org/TR/css3-conditional/#at-media"/> - <meta name="flags" content=""/> - <meta name="assert" content="An outer @media rule with an inner @supports rule must apply the rules inside the @supports only if both the @supports and @media conditions pass."/> - <link rel="match" href="support/pass.xht"/> - <style type="text/css"><![CDATA[ - @media all { - @supports (color: green) { - html { background-color: green } - } - } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/at-supports-001-ref.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/at-supports-001-ref.xht deleted file mode 100644 index e0c4dc76257..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/at-supports-001-ref.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Reftest Reference</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <style> - div { - background-color:green; - height:100px; - width:100px; - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong> and <strong>no red</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/at-supports-027-ref.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/at-supports-027-ref.xht deleted file mode 100644 index a1712c0be51..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/at-supports-027-ref.xht +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Reftest Reference</title> - <link href="http://florian.rivoal.net/" rel="author" title="Florian Rivoal" /> - <link href="http://opera.com" rel="author" title="Opera Software ASA" /> - <style> - div { - background-color:green; - height:100px; - width:100px; - } - </style> - </head> - <body> - <p>Test passes if there is a <strong>filled green square</strong>.</p> - <div></div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/background-lime.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/background-lime.xht deleted file mode 100644 index 288d0116e56..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/background-lime.xht +++ /dev/null @@ -1,14 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Test Reference</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <style> - body { background: lime; color: black; } - </style> - </head> - <body> - This page should have a light green background. - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/support/pass.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/support/pass.xht deleted file mode 100644 index 62c6139f45a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reference/support/pass.xht +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>CSS Reftest Reference</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test pass.xht"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" /> - <style type="text/css"><![CDATA[ - html { background-color: green } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reftest-toc.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reftest-toc.xht deleted file mode 100644 index 81fdd193a14..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reftest-toc.xht +++ /dev/null @@ -1,710 +0,0 @@ - - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite Reftest Index</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> - - <body> - - <h1>CSS Conditional Rules Module Level 3 CR Test Suite Reftest Index</h1> - <table width="100%"> - <col id="test-column"></col> - <col id="ref-column"></col> - <col id="flags-column"></col> - <thead> - <tr> - <th>Test</th> - <th>Reference</th> - <th>Flags</th> - </tr> - </thead> - <tbody id="at-media-whitespace-optional-001" class=""> - <tr> - <td rowspan="1" title="DESCRIPTION OF TEST"> - <a href="at-media-whitespace-optional-001.xht">at-media-whitespace-optional-001</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-media-whitespace-optional-002" class=""> - <tr> - <td rowspan="1" title="DESCRIPTION OF TEST"> - <a href="at-media-whitespace-optional-002.xht">at-media-whitespace-optional-002</a></td> - <td><a href="reference/background-lime.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-001" class=""> - <tr> - <td rowspan="1" title="Support for simple passing conditions in @supports"> - <a href="at-supports-001.xht">at-supports-001</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-002" class=""> - <tr> - <td rowspan="1" title="Support for @supports within @media"> - <a href="at-supports-002.xht">at-supports-002</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-003" class=""> - <tr> - <td rowspan="1" title="Support for @media within @supports"> - <a href="at-supports-003.xht">at-supports-003</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-004" class=""> - <tr> - <td rowspan="1" title="@supports within non-matching @media should not apply"> - <a href="at-supports-004.xht">at-supports-004</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-005" class=""> - <tr> - <td rowspan="1" title="non-matching @media within @supports should not apply"> - <a href="at-supports-005.xht">at-supports-005</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-006" class=""> - <tr> - <td rowspan="1" title="Nested parens around conditions in @supports should work"> - <a href="at-supports-006.xht">at-supports-006</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-007" class=""> - <tr> - <td rowspan="1" title="Conjunctions of passing simple conditions in @supports should pass"> - <a href="at-supports-007.xht">at-supports-007</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-008" class=""> - <tr> - <td rowspan="1" title="Disjunctions with at least a passing simple condition in @supports should pass"> - <a href="at-supports-008.xht">at-supports-008</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-009" class=""> - <tr> - <td rowspan="1" title="Negations of failing simple conditions in @supports should pass"> - <a href="at-supports-009.xht">at-supports-009</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-010" class=""> - <tr> - <td rowspan="1" title="Combinations of conjuctions, disjunctions, and negations of simple conditions in @supports should work"> - <a href="at-supports-010.xht">at-supports-010</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-011" class="invalid"> - <tr> - <td rowspan="1" title="Conditions not enclosed in parens in @supports should not work"> - <a href="at-supports-011.xht">at-supports-011</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-012" class=""> - <tr> - <td rowspan="1" title="Conjunctions with more than two terms in @supports should work"> - <a href="at-supports-012.xht">at-supports-012</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-013" class=""> - <tr> - <td rowspan="1" title="Disjunction with more than two terms in @supports should work"> - <a href="at-supports-013.xht">at-supports-013</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-014" class="invalid"> - <tr> - <td rowspan="1" title="Negations in @supports should not work if "not" isn't follow by a space"> - <a href="at-supports-014.xht">at-supports-014</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-015" class=""> - <tr> - <td rowspan="1" title="Bizarre syntax that still conforms to the core grammar should succesfully parse in @supports"> - <a href="at-supports-015.xht">at-supports-015</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-016" class="invalid"> - <tr> - <td rowspan="1" title="In @supports, parens are required to mix conjunctions with disjunctions"> - <a href="at-supports-016.xht">at-supports-016</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-017" class=""> - <tr> - <td rowspan="1" title="In @supports, functions can be parsed successfully"> - <a href="at-supports-017.xht">at-supports-017</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-018" class=""> - <tr> - <td rowspan="1" title="In @supports conditions, the arguments of a function can begin with spaces"> - <a href="at-supports-018.xht">at-supports-018</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="at-supports-019" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-019.xht">at-supports-019</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-020" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-020.xht">at-supports-020</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-021" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-021.xht">at-supports-021</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-022" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-022.xht">at-supports-022</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-023" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in nested @supports recovers properly"> - <a href="at-supports-023.xht">at-supports-023</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-024" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-024.xht">at-supports-024</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-025" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-025.xht">at-supports-025</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-026" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-026.xht">at-supports-026</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-027" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-027.xht">at-supports-027</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-028" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-028.xht">at-supports-028</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-029" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-029.xht">at-supports-029</a></td> - <td><a href="reference/at-supports-027-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-030" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-030.xht">at-supports-030</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-031" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-031.xht">at-supports-031</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-032" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-032.xht">at-supports-032</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-033" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax in @supports recovers properly"> - <a href="at-supports-033.xht">at-supports-033</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-034" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-034.xht">at-supports-034</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-035" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-035.xht">at-supports-035</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-036" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-036.xht">at-supports-036</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-037" class="invalid"> - <tr> - <td rowspan="1" title="Incorrect syntax of supports condition"> - <a href="at-supports-037.xht">at-supports-037</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-038" class="invalid"> - <tr> - <td rowspan="1" title="a supports condition declaration can not end with a semi-colon"> - <a href="at-supports-038.xht">at-supports-038</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="at-supports-039" class="invalid"> - <tr> - <td rowspan="1" title="a supports condition declaration can not end with a semi-colon"> - <a href="at-supports-039.xht">at-supports-039</a></td> - <td><a href="reference/at-supports-001-ref.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-001" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-001.xht">css-supports-001</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-002" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-002.xht">css-supports-002</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-003" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-003.xht">css-supports-003</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-004" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-004.xht">css-supports-004</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-005" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-005.xht">css-supports-005</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-006" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-006.xht">css-supports-006</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-007" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-007.xht">css-supports-007</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-008" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-008.xht">css-supports-008</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-009" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-009.xht">css-supports-009</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-010" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-010.xht">css-supports-010</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-011" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-011.xht">css-supports-011</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-012" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-012.xht">css-supports-012</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-013" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-013.xht">css-supports-013</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-014" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-014.xht">css-supports-014</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-015" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-015.xht">css-supports-015</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-016" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-016.xht">css-supports-016</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-017" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-017.xht">css-supports-017</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-018" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-018.xht">css-supports-018</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-019" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with invalid syntax must not apply rules inside it"> - <a href="css-supports-019.xht">css-supports-019</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-020" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-020.xht">css-supports-020</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-021" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax but a failing condition must not apply rules inside it"> - <a href="css-supports-021.xht">css-supports-021</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-022" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-022.xht">css-supports-022</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-023" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-023.xht">css-supports-023</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-024" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-024.xht">css-supports-024</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-025" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-025.xht">css-supports-025</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-026" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-026.xht">css-supports-026</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-029" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-029.xht">css-supports-029</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-030" class=""> - <tr> - <td rowspan="1" title="An @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-030.xht">css-supports-030</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-031" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax within parentheses must evaluate to false"> - <a href="css-supports-031.xht">css-supports-031</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-032" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-032.xht">css-supports-032</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-033" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-033.xht">css-supports-033</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-034" class=""> - <tr> - <td rowspan="1" title="An @supports rule with balanced invalid syntax must evaluate to false"> - <a href="css-supports-034.xht">css-supports-034</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-035" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with unbalanced invalid syntax must fail to parse"> - <a href="css-supports-035.xht">css-supports-035</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-036" class=""> - <tr> - <td rowspan="1" title="An @supports rule with an unrecognized condition using functional notation must evaluate to false"> - <a href="css-supports-036.xht">css-supports-036</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-037" class="invalid"> - <tr> - <td rowspan="1" title="An @supports rule with an unrecognized condition using functional notation with unbalanced parentheses must fail to parse"> - <a href="css-supports-037.xht">css-supports-037</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-038" class=""> - <tr> - <td rowspan="1" title="In an @supports rule "not(" must be parsed as a FUNCTION"> - <a href="css-supports-038.xht">css-supports-038</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-039" class="invalid"> - <tr> - <td rowspan="1" title="In an @supports rule "or(" must be parsed as a FUNCTION"> - <a href="css-supports-039.xht">css-supports-039</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"><abbr class="invalid" title="Tests invalid CSS">Invalid</abbr></td> - </tr> - </tbody> - <tbody id="css-supports-040" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with empty parentheses should evaluates to false"> - <a href="css-supports-040.xht">css-supports-040</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-041" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with empty parentheses should evaluates to false"> - <a href="css-supports-041.xht">css-supports-041</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-042" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with an unexpected token before the closing paren of a supports_condition_in_parens should parse as a general_enclosed"> - <a href="css-supports-042.xht">css-supports-042</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-043" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with a bogus priority should evaluate to false"> - <a href="css-supports-043.xht">css-supports-043</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-044" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with tokens after the priority should evaluate to false"> - <a href="css-supports-044.xht">css-supports-044</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-045" class=""> - <tr> - <td rowspan="1" title="An @supports rule condition with two priorities should evaluate to false"> - <a href="css-supports-045.xht">css-supports-045</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - <tbody id="css-supports-046" class=""> - <tr> - <td rowspan="1" title="A nested @supports rule with valid syntax and a passing condition must apply rules inside it"> - <a href="css-supports-046.xht">css-supports-046</a></td> - <td><a href="support/pass.xht">=</a> </td> - <td rowspan="1"></td> - </tr> - </tbody> - </table> - - </body> -</html> diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reftest.list b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reftest.list deleted file mode 100644 index 96d1b4992e1..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/reftest.list +++ /dev/null @@ -1,86 +0,0 @@ - -at-media-whitespace-optional-001.xht == reference/background-lime.xht -at-media-whitespace-optional-002.xht == reference/background-lime.xht -at-supports-001.xht == reference/at-supports-001-ref.xht -at-supports-002.xht == reference/at-supports-001-ref.xht -at-supports-003.xht == reference/at-supports-001-ref.xht -at-supports-004.xht == reference/at-supports-001-ref.xht -at-supports-005.xht == reference/at-supports-001-ref.xht -at-supports-006.xht == reference/at-supports-001-ref.xht -at-supports-007.xht == reference/at-supports-001-ref.xht -at-supports-008.xht == reference/at-supports-001-ref.xht -at-supports-009.xht == reference/at-supports-001-ref.xht -at-supports-010.xht == reference/at-supports-001-ref.xht -at-supports-011.xht == reference/at-supports-001-ref.xht -at-supports-012.xht == reference/at-supports-001-ref.xht -at-supports-013.xht == reference/at-supports-001-ref.xht -at-supports-014.xht == reference/at-supports-001-ref.xht -at-supports-015.xht == reference/at-supports-001-ref.xht -at-supports-016.xht == reference/at-supports-001-ref.xht -at-supports-017.xht == reference/at-supports-001-ref.xht -at-supports-018.xht == reference/at-supports-001-ref.xht -at-supports-019.xht == reference/at-supports-001-ref.xht -at-supports-020.xht == reference/at-supports-001-ref.xht -at-supports-021.xht == reference/at-supports-001-ref.xht -at-supports-022.xht == reference/at-supports-001-ref.xht -at-supports-023.xht == reference/at-supports-001-ref.xht -at-supports-024.xht == reference/at-supports-001-ref.xht -at-supports-025.xht == reference/at-supports-001-ref.xht -at-supports-026.xht == reference/at-supports-001-ref.xht -at-supports-027.xht == reference/at-supports-027-ref.xht -at-supports-028.xht == reference/at-supports-001-ref.xht -at-supports-029.xht == reference/at-supports-027-ref.xht -at-supports-030.xht == reference/at-supports-001-ref.xht -at-supports-031.xht == reference/at-supports-001-ref.xht -at-supports-032.xht == reference/at-supports-001-ref.xht -at-supports-033.xht == reference/at-supports-001-ref.xht -at-supports-034.xht == reference/at-supports-001-ref.xht -at-supports-035.xht == reference/at-supports-001-ref.xht -at-supports-036.xht == reference/at-supports-001-ref.xht -at-supports-037.xht == reference/at-supports-001-ref.xht -at-supports-038.xht == reference/at-supports-001-ref.xht -at-supports-039.xht == reference/at-supports-001-ref.xht -css-supports-001.xht == support/pass.xht -css-supports-002.xht == support/pass.xht -css-supports-003.xht == support/pass.xht -css-supports-004.xht == support/pass.xht -css-supports-005.xht == support/pass.xht -css-supports-006.xht == support/pass.xht -css-supports-007.xht == support/pass.xht -css-supports-008.xht == support/pass.xht -css-supports-009.xht == support/pass.xht -css-supports-010.xht == support/pass.xht -css-supports-011.xht == support/pass.xht -css-supports-012.xht == support/pass.xht -css-supports-013.xht == support/pass.xht -css-supports-014.xht == support/pass.xht -css-supports-015.xht == support/pass.xht -css-supports-016.xht == support/pass.xht -css-supports-017.xht == support/pass.xht -css-supports-018.xht == support/pass.xht -css-supports-019.xht == support/pass.xht -css-supports-020.xht == support/pass.xht -css-supports-021.xht == support/pass.xht -css-supports-022.xht == support/pass.xht -css-supports-023.xht == support/pass.xht -css-supports-024.xht == support/pass.xht -css-supports-025.xht == support/pass.xht -css-supports-026.xht == support/pass.xht -css-supports-029.xht == support/pass.xht -css-supports-030.xht == support/pass.xht -css-supports-031.xht == support/pass.xht -css-supports-032.xht == support/pass.xht -css-supports-033.xht == support/pass.xht -css-supports-034.xht == support/pass.xht -css-supports-035.xht == support/pass.xht -css-supports-036.xht == support/pass.xht -css-supports-037.xht == support/pass.xht -css-supports-038.xht == support/pass.xht -css-supports-039.xht == support/pass.xht -css-supports-040.xht == support/pass.xht -css-supports-041.xht == support/pass.xht -css-supports-042.xht == support/pass.xht -css-supports-043.xht == support/pass.xht -css-supports-044.xht == support/pass.xht -css-supports-045.xht == support/pass.xht -css-supports-046.xht == support/pass.xht diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/support/pass.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/support/pass.xht deleted file mode 100644 index 62c6139f45a..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/support/pass.xht +++ /dev/null @@ -1,21 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <title>CSS Reftest Reference</title> - <style type="text/css"> - @page { font: italic 8pt sans-serif; color: gray; - margin: 7%; - counter-increment: page; - @top-left { content: "CSS Conditional Rules Module Level 3 CR Test Suite"; } - @top-right { content: "Test pass.xht"; } - @bottom-right { content: counter(page); } - } -</style> - <link rel="author" title="Cameron McCormack" href="mailto:cam@mcc.id.au" /> - <style type="text/css"><![CDATA[ - html { background-color: green } - ]]></style> - </head> - <body> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/test_group_insertRule.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/test_group_insertRule.xht deleted file mode 100644 index 4f72c9f7560..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/test_group_insertRule.xht +++ /dev/null @@ -1,243 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"><head> - <title>CSS Variables Allowed Syntax</title> - <link href="https://dbaron.org/" rel="author" title="L. David Baron" /> - <link href="http://mozilla.com/" rel="author" title="Mozilla Corporation" /> - <link href="http://www.w3.org/TR/css3-conditional/#the-cssgroupingrule-interface" rel="help" /> - <meta content="requirements in definition of insertRule" name="assert" /> - <script src="/resources/testharness.js"></script> - <script src="/resources/testharnessreport.js"></script> -<style id="style"> -@media print {} -</style> -<script id="metadata_cache">/* -{ - "rule_type": {}, - "rule_length": {}, - "insert_import_throws": {}, - "insert_index_throws1": {}, - "insert_index_throws2": {}, - "insert_media_succeed": {}, - "insert_style_succeed": {}, - "insert_bad_media_throw": {}, - "insert_empty_throw": {}, - "insert_garbage_after_media_throw": {}, - "insert_garbage_after_style_throw": {}, - "insert_two_media_throw": {}, - "insert_style_media_throw": {}, - "insert_media_style_throw": {}, - "insert_two_style_throw": {}, - "insert_retval": {} -} -*/</script> -</head> -<body onload="run()"> -<div id="log"></div> -<div id="test"></div> -<script> - - var sheet = document.getElementById("style").sheet; - - var grouping_rule = sheet.cssRules[0]; - - test(function() { - assert_equals(grouping_rule.type, CSSRule.MEDIA_RULE, - "Rule type of @media rule"); - }, - "rule_type"); - - test(function() { - assert_equals(grouping_rule.cssRules.length, 0, - "Starting cssRules.length of @media rule"); - }, - "rule_length"); - - test(function() { - assert_throws("HIERARCHY_REQUEST_ERR", - function() { - grouping_rule.insertRule("@import url(foo.css);", 0); - }, - "inserting a disallowed rule should throw HIERARCHY_REQUEST_ERR"); - }, - "insert_import_throws"); - - test(function() { - assert_throws("INDEX_SIZE_ERR", - function() { - grouping_rule.insertRule("p { color: green }", 1); - }, - "inserting at a bad index throws INDEX_SIZE_ERR"); - }, - "insert_index_throws1"); - test(function() { - grouping_rule.insertRule("p { color: green }", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - grouping_rule.insertRule("p { color: blue }", 1); - assert_equals(grouping_rule.cssRules.length, 2, - "Modified cssRules.length of @media rule"); - grouping_rule.insertRule("p { color: aqua }", 1); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - assert_throws("INDEX_SIZE_ERR", - function() { - grouping_rule.insertRule("p { color: green }", 4); - }, - "inserting at a bad index throws INDEX_SIZE_ERR"); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - }, - "insert_index_throws2"); - - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - grouping_rule.insertRule("@media print {}", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - assert_equals(grouping_rule.cssRules[0].type, CSSRule.MEDIA_RULE, - "inserting syntactically correct media rule succeeds"); - }, - "insert_media_succeed"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - grouping_rule.insertRule("p { color: yellow }", 0); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - assert_equals(grouping_rule.cssRules[0].type, CSSRule.STYLE_RULE, - "inserting syntactically correct style rule succeeds"); - }, - "insert_style_succeed"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media bad syntax;", 0); - }, - "inserting syntactically invalid rule throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_bad_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("", 0); - }, - "inserting empty rule throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_empty_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} foo", 0); - }, - "inserting rule with garbage afterwards throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_garbage_after_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } foo", 0); - }, - "inserting rule with garbage afterwards throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_garbage_after_style_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} @media print {}", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_two_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } @media print {}", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_style_media_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("@media print {} p { color: yellow }", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_media_style_throw"); - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - assert_throws("SYNTAX_ERR", - function() { - grouping_rule.insertRule("p { color: yellow } p { color: yellow }", 0); - }, - "inserting multiple rules throws syntax error"); - assert_equals(grouping_rule.cssRules.length, 0, - "Modified cssRules.length of @media rule"); - }, - "insert_two_style_throw"); - - test(function() { - while (grouping_rule.cssRules.length > 0) { - grouping_rule.deleteRule(0); - } - var res = grouping_rule.insertRule("p { color: green }", 0); - assert_equals(res, 0, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 1, - "Modified cssRules.length of @media rule"); - res = grouping_rule.insertRule("p { color: green }", 0); - assert_equals(res, 0, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 2, - "Modified cssRules.length of @media rule"); - res = grouping_rule.insertRule("p { color: green }", 2); - assert_equals(res, 2, "return value should be index"); - assert_equals(grouping_rule.cssRules.length, 3, - "Modified cssRules.length of @media rule"); - }, - "insert_retval"); - - -</script> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/toc.xht b/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/toc.xht deleted file mode 100644 index 1c0227e5296..00000000000 --- a/tests/wpt/css-tests/css-conditional-3_dev/xhtml1print/toc.xht +++ /dev/null @@ -1,69 +0,0 @@ - -<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> -<html xmlns="http://www.w3.org/1999/xhtml"> - <head> - <title>CSS Conditional Rules Module Level 3 CR Test Suite</title> - <style type="text/css"> - @import "http://www.w3.org/StyleSheets/TR/base.css"; - @import "../indices.css"; - </style> - </head> -<body> - <h1>CSS Conditional Rules Module Level 3 CR Test Suite By Chapter</h1> - - <p>This index contains both - <a href="http://wiki.csswg.org/test/selftest">self-describing tests</a> - and reftests. - A separate <a href="reftest-toc.xht">alphabetical reftest index</a> - is provided for tests in <a href="http://wiki.csswg.org/test/reftest">reftest - format</a> along with the <a href="reftest.list">reftest manifest</a>.</p> - - <table> - <tbody id="s1"> - <tr><th><a href="chapter-1.xht">Chapter 1 - - Introduction</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s2"> - <tr><th><a href="chapter-2.xht">Chapter 2 - - Processing of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s3"> - <tr><th><a href="chapter-3.xht">Chapter 3 - - Contents of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s4"> - <tr><th><a href="chapter-4.xht">Chapter 4 - - Placement of conditional group rules</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s5"> - <tr><th><a href="chapter-5.xht">Chapter 5 - - Media-specific style sheets: the ‘@media’ rule</a></th> - <td>(4 Tests)</td></tr> - </tbody> - <tbody id="s6"> - <tr><th><a href="chapter-6.xht">Chapter 6 - - Feature queries: the ‘@supports’ rule</a></th> - <td>(84 Tests)</td></tr> - </tbody> - <tbody id="s7"> - <tr><th><a href="chapter-7.xht">Chapter 7 - - APIs</a></th> - <td>(1 Tests)</td></tr> - </tbody> - <tbody id="s8"> - <tr><th><a href="chapter-8.xht">Chapter 8 - - Conformance</a></th> - <td>(0 Tests)</td></tr> - </tbody> - <tbody id="s9"> - <tr><th><a href="chapter-9.xht">Chapter 9 - - Changes</a></th> - <td>(0 Tests)</td></tr> - </tbody> - </table> -</body> -</html>
\ No newline at end of file |