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

Unified Diff: LayoutTests/fast/regions/cssom/get-region-flow-ranges-writing-modes-rl-rb-lr.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-writing-modes-rl-rb-lr.html
diff --git a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-writing-modes-rl-rb-lr.html b/LayoutTests/fast/regions/cssom/get-region-flow-ranges-writing-modes-rl-rb-lr.html
deleted file mode 100644
index 5edc6cf1107652ff6cd8358be764a13a3f54d088..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-writing-modes-rl-rb-lr.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!doctype html>
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<script src="../resources/helper.js"></script>
-<style>
- html { -webkit-writing-mode: vertical-rl ;}
- body { font-family: monospace; }
- #wrapper { font-size: 30px; }
- .border { border: 1px solid red; }
- #box1 { -webkit-flow-into: flow; background-color: green; }
- #box11 { background-color: lightgreen; width: 30px; margin-right: 70px;}
- #region1 { -webkit-flow-from: flow; width: 200px; height: 400px; }
- #region2 { -webkit-flow-from: flow; width: 200px; height: 400px; }
- #region3 { -webkit-flow-from: flow; width: 200px; height: 400px; }
- #box2 { -webkit-writing-mode: horizontal-tb; background-color: grey; width: 150px; height: 400px;}
- #box22 { height: 30px; width: 30px; background-color: white; }
- #box3 { -webkit-writing-mode: vertical-lr; background-color: lightblue; width: 150px; height: 400px;}
- #box4 { -webkit-writing-mode: horizontal-bt; background-color: yellow; height: 60px; width: 200px; position: absolute; top: 100px; left: 20px;}
-</style>
-</head>
-<body>
- <div id="description"></div>
- <!--div id="wrapper"><div id="box1"><div id="box11"></div><div id="box2">Vert RL</div><div id="box3">Vert LR</div><div id="box4">Horizontal BT</div></div-->
-
- <div id="wrapper"><div id="box1"><div id="box11"></div><div id="box2">Horizontal TB<div id="box22">X</div></div><div id="box3">Vertical LR<div id="box4">Horizontal BT</div></div></div></div>
- <div id="region1" class="border"></div>
- <div id="region2" class="border"></div>
- <div id="region3" class="border"></div>
-<script>
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- debug("[CSSRegions] Test for Region::getRegionFlowRanges for mixed vertical modes");
- region1 = document.getElementById("region1");
- region2 = document.getElementById("region2");
- region3 = document.getElementById("region3");
- range1 = region1.webkitGetRegionFlowRanges();
- shouldEvaluateTo("range1.length", 2);
- compareArrays(getRangeAt(range1, 0), ["wrapper", 0, "box1", 1]);
- compareArrays(getRangeAt(range1, 1), ["box3", 1, "box3", 2]);
- range2 = region2.webkitGetRegionFlowRanges();
- shouldEvaluateTo("range2.length", 1);
- compareArrays(getRangeAt(range2, 0), ["box1", 1, "box1", 2]);
- range3 = region3.webkitGetRegionFlowRanges();
- shouldEvaluateTo("range3.length", 1);
- compareArrays(getRangeAt(range3, 0), ["box1", 2, "box3", 1]);
-
-function hideRegionsAndFlows() {
- document.getElementById("region1").style.visibility = "hidden";
- document.getElementById("region2").style.visibility = "hidden";
- document.getElementById("region3").style.visibility = "hidden";
-}
- hideRegionsAndFlows();
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698