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

Unified Diff: LayoutTests/fast/regions/cssom/get-region-flow-ranges-content-nodes.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/get-region-flow-ranges-content-nodes.html
diff --git a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-content-nodes.html b/LayoutTests/fast/regions/cssom/get-region-flow-ranges-content-nodes.html
deleted file mode 100644
index db4c698e6d9ae9ff39147764c06a96dfb8f67ea8..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-content-nodes.html
+++ /dev/null
@@ -1,51 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<script src="../../../resources/js-test.js"></script>
-<script src="../resources/helper.js"></script>
-<style>
- body { font-family: monospace; }
- #wrapper { font-size: 50px; }
- .border { border: 1px solid red; }
- .flow { -webkit-flow-into: flow1;}
- .blue {background-color: lightblue; width: 50px; height: 50px;}
- #region1 { -webkit-flow-from: flow1; width: 250px; height: 70px; left: 20px; top: 250px;}
- #region2 { -webkit-flow-from: flow1; width: 250px; height: 120px; left: 20px; top: 300px;}
-</style>
-</head>
-<body>
- <div id="description"></div>
- <div id="wrapper"><div class="flow">Text node.</div></div>
- <div id="region1" class="border"></div>
- <div id="region2" class="border"></div>
- <div id="wrapper2"><div class="flow blue"></div></div>
- <div id="console"></div>
-<script>
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- description("[CSSRegions] Implement Region::getRegionFlowRanges with multiple content nodes");
- var region1 = document.getElementById("region1");
- var region2 = document.getElementById("region2");
-
-
- debug("Flow test");
- range1 = region1.webkitGetRegionFlowRanges();
- shouldEvaluateTo("range1.length", 1);
- compareArrays(getRangeAt(range1, 0), ["wrapper", 0, "#text", 4]);
- range2 = region2.webkitGetRegionFlowRanges();
- shouldEvaluateTo("range2.length", 2);
- compareArrays(getRangeAt(range2, 0), ["#text", 5, "wrapper", 1]);
- compareArrays(getRangeAt(range2, 1), ["wrapper2", 0, "wrapper2", 1]);
-
-
-function hideRegionsAndFlows() {
- document.getElementById("region1").style.visibility = "hidden";
- document.getElementById("region2").style.visibility = "hidden";
-}
-
- hideRegionsAndFlows();
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698