Index: LayoutTests/fast/regions/cssom/webkit-named-flow-event-add-to-flow.html |
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-event-add-to-flow.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-event-add-to-flow.html |
deleted file mode 100644 |
index 836536162aab4331f34492a347f387119416e5ba..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-event-add-to-flow.html |
+++ /dev/null |
@@ -1,76 +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 { |
- -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; margin: 5px; border: 1px solid red;} |
-</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(region, flowName) { |
- var r = document.getElementById(region); |
- r.style.webkitFlowFrom = flowName; |
- } |
- |
- var eventCount = 0; |
- function finishTest() { |
- shouldBe("eventCount", "2"); |
- finishJSTest(); |
- } |
- |
- function regionOversetChanged(event) { |
- shouldBeEqualToString("event.target.name", "article"); |
- |
- if (++eventCount > 1) { |
- // this should be reached after region_2 is added to flow |
- finishTest(); |
- return; |
- } |
- |
- flowContent("region_2", "article"); // this will trigger a new round of events due to layout |
- } |
- |
- function startTest() { |
- var flow = getFlowByName("article"); |
- flow.addEventListener("webkitregionoversetchange", regionOversetChanged); |
- |
- debug("Flow content"); |
- flowContent("region_1", "article"); |
- } |
- window.addEventListener("load", startTest); |
-</script> |
-</body> |
-</html> |