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

Unified Diff: LayoutTests/fast/regions/cssom/webkit-named-flow-collection.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-collection.html
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-collection.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-collection.html
deleted file mode 100644
index 8a2385744db7fa2127bf361085dec532ebe214fa..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-collection.html
+++ /dev/null
@@ -1,47 +0,0 @@
-<!doctype html>
-<html>
-<body>
-<script src="../../../resources/js-test.js"></script>
-<script>
- description("Tests WebKitNamedFlowCollection interface")
- if (window.testRunner)
- testRunner.dumpAsText();
-
- var region1 = document.createElement("div");
- var region2 = document.createElement("div");
-
- debug("Test WebKitNamedFlowCollection length property");
-
- shouldBe("document.webkitGetNamedFlows().length", "0");
-
- document.body.appendChild(region1);
- shouldBe("region1.style.webkitFlowFrom = 'flow1'; document.webkitGetNamedFlows().length", "1");
-
- document.body.appendChild(region2);
- shouldBe("region2.style.webkitFlowFrom = 'flow2'; document.webkitGetNamedFlows().length", "2");
-
- document.body.removeChild(region1);
- shouldBe("region1.style.webkitFlowFrom = ''; document.webkitGetNamedFlows().length", "1");
-
- document.body.removeChild(region2);
- shouldBe("region2.style.webkitFlowFrom = ''; document.webkitGetNamedFlows().length", "0");
-
- document.body.appendChild(region1);
- document.body.appendChild(region2);
- region1.style.webkitFlowFrom = 'flow1';
- region2.style.webkitFlowFrom = 'flow2';
-
- debug("Test WebKitNamedFlowCollection index getter");
- shouldBeTrue("(document.webkitGetNamedFlows()[0].name == 'flow1' && document.webkitGetNamedFlows()[1].name == 'flow2') \
- || (document.webkitGetNamedFlows()[0].name == 'flow2' && document.webkitGetNamedFlows()[1].name == 'flow1')");
-
- debug("Test WebKitNamedFlowCollection name getter");
- shouldBeEqualToString("document.webkitGetNamedFlows().flow1.name", "flow1");
- shouldBeEqualToString("document.webkitGetNamedFlows().flow2.name", "flow2");
- shouldBeUndefined("document.webkitGetNamedFlows().undefinedNamedProperty");
-
- document.body.removeChild(region1);
- document.body.removeChild(region2);
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698