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

Unified Diff: LayoutTests/fast/regions/cssom/get-region-flow-ranges-display-none.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-display-none.html
diff --git a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-display-none.html b/LayoutTests/fast/regions/cssom/get-region-flow-ranges-display-none.html
deleted file mode 100644
index 1b06ed58c1357019310d15fdb549797e8090c57b..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/get-region-flow-ranges-display-none.html
+++ /dev/null
@@ -1,41 +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: 20px; }
- .border { border: 1px solid red; }
- .flow { -webkit-flow-into: flow1;}
- #wrapper p {margin: 0; padding: 0;}
- .none {display: none;}
- #region1 { -webkit-flow-from: flow1; width: 250px; height: 70px; left: 20px; top: 250px;}
-</style>
-</head>
-<body>
- <div id="description"></div>
- <div id="wrapper"><div class="flow"><p>1</p><p class="none">2</p><p>3</p><p class="none">4</p><p>5</p></div></div>
- <div id="region1" class="border"></div>
- <div id="console"></div>
-<script>
- if (window.layoutTestController)
- layoutTestController.dumpAsText();
-
- description("[CSSRegions] Implement Region::getRegionFlowRanges for elements with display:none (Range should not break ranges at display:none)");
- var region1 = document.getElementById("region1");
-
- debug("Flow test");
- range1 = region1.webkitGetRegionFlowRanges();
- shouldEvaluateTo("range1.length", 1);
- compareArrays(getRangeAt(range1, 0), ["wrapper", 0, "wrapper", 1]);
-
-function hideRegionsAndFlows() {
- document.getElementById("region1").style.visibility = "hidden";
-}
-
- hideRegionsAndFlows();
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698