Index: LayoutTests/fast/regions/cssom/webkit-named-flow-invalid-name.html |
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-invalid-name.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-invalid-name.html |
deleted file mode 100644 |
index b5e9160f9d5cc85411b39f0be13d174938a32725..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-invalid-name.html |
+++ /dev/null |
@@ -1,31 +0,0 @@ |
-<!doctype html> |
-<html> |
- <head> |
- <link rel="stylesheet" href="../resources/region-style.css"> |
- <script src="../resources/helper.js"></script> |
- </head> |
- <body> |
- <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=79685">79685: [CSSRegions][CSSOM]Prevent creation of NamedFlow object for invalid flow name</a></p> |
- <p>On success, you should see a series of PASS below.</p> |
- <div id="console"></div> |
- |
- <script> |
- if (window.testRunner) |
- window.testRunner.dumpAsText(); |
- // Try some invalid names. auto/default/inherit/initial/none values are not allowed |
- // Empty string and -12px are not identifiers, so they cannot represent valid flow names. |
- // Valid flow names followed by another css property do not form a valid flow name. |
- var arrFlowInvalidNames = ["auto", "default", "inherit", "initial", "none", "", "-12px", "flow; color: red;"]; |
- var arrLen = arrFlowInvalidNames.length; |
- for (var i = 0; i < arrLen; ++i) { |
- var nullNamedFlow = getFlowByName(arrFlowInvalidNames[i]); |
- assert(nullNamedFlow == null, "Named flow for " + arrFlowInvalidNames[i] + " should be null"); |
- } |
- |
- // It should not be possible to get the NamedFlow object for a missing flow. |
- var namedFlow = getFlowByName("flow"); |
- assert(namedFlow == null, "Named flow for flow should be null"); |
- </script> |
- </body> |
-</html> |
- |