Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(255)

Unified Diff: LayoutTests/fast/regions/cssom/webkit-named-flow-invalid-name.html

Issue 159933010: Remove everything region-specific from LayoutTests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
-

Powered by Google App Engine
This is Rietveld 408576698