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

Unified Diff: LayoutTests/fast/regions/cssom/webkit-named-flow-event.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-event.html
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-event.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-event.html
deleted file mode 100644
index ca16f11c5bc55fb73e4cbff7461e681ee4c72727..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-event.html
+++ /dev/null
@@ -1,67 +0,0 @@
-<html>
-<head>
-<script src="../../../resources/js-test.js"></script>
-<script src="../resources/helper.js"></script>
-<style>
-#article {
- -webkit-flow-into: article;
- border: 2px solid black;
-}
-#region_1, #region_2{
- -webkit-flow-from: no_article;
- overflow:hidden;
- display:inline-block;
- vertical-align:top;
- margin:10px;
-}
-.block {
- display:block;
-}
-#region_1, #region_2 { height:110px; width:200px}
-</style>
-</head>
-<body>
-<div id="description" class="block"></div>
-<div id="article">
- <div>
- <div id="content" style="height: 200px; background-color: green;"></div>
- </div>
-</div>
-
-<div id="region_1"></div>
-<div id="region_2"></div>
-
-<div id="console" class="block"></div>
-
-<script>
- description("Tests regionOversetChange event")
- if (window.testRunner) {
- testRunner.dumpAsText();
- testRunner.waitUntilDone();
- }
- window.jsTestIsAsync = true;
- function flowContent(flowName) {
- var r = document.getElementById("region_1");
- r.style.webkitFlowFrom = flowName;
- r = document.getElementById("region_2");
- r.style.webkitFlowFrom = flowName;
- }
-
- function flowThreadUpdated(event) {
- shouldBeEqualToString("event.target.name", "article");
- event.target.removeEventListener("webkitregionoversetchange", flowThreadUpdated);
-
- finishJSTest();
- }
-
- function startTest() {
- var flowThread = getFlowByName("article");
- flowThread.addEventListener("webkitregionoversetchange", flowThreadUpdated);
-
- debug("Flow content");
- flowContent("article");
- }
- window.addEventListener("load", startTest);
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698