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

Unified Diff: LayoutTests/fast/regions/cssom/get-region-flow-ranges-text.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-text.html
diff --git a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-text.html b/LayoutTests/fast/regions/cssom/get-region-flow-ranges-text.html
deleted file mode 100644
index 2325d5091bf4a311e5ee916831fcea910c52ab1c..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-text.html
+++ /dev/null
@@ -1,46 +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; }
- #box { -webkit-flow-into: flow1;}
- #region1 { -webkit-flow-from: flow1; width: 250px; height: 70px; left: 20px; top: 250px;}
- #region2 { -webkit-flow-from: flow1; width: 250px; height: 60px; left: 20px; top: 300px;}
-</style>
-</head>
-<body>
- <div id="description"></div>
- <div id="wrapper"><div id="box">Text node.</div></div>
- <div id="region1" class="border"></div>
- <div id="region2" class="border"></div>
- <div id="console"></div>
-<script>
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- description("[CSSRegions] Test for Region::getRegionFlowRanges. Text breaks in two regions");
- 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", 1);
- compareArrays(getRangeAt(range2, 0), ["#text", 5, "wrapper", 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