Index: LayoutTests/fast/regions/cssom/webkit-named-flow-get-regions.html |
diff --git a/LayoutTests/fast/regions/cssom/webkit-named-flow-get-regions.html b/LayoutTests/fast/regions/cssom/webkit-named-flow-get-regions.html |
deleted file mode 100644 |
index a2464e0825fac9e4b15f7d390faba1f403b04db6..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/cssom/webkit-named-flow-get-regions.html |
+++ /dev/null |
@@ -1,66 +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{ |
- overflow:visible; |
- display:inline-block; |
- vertical-align:top; |
- margin:10px; |
-} |
-#region_1 { height:500px; width:200px; } |
-#region_2 { height:50px; width:200px; } |
-</style> |
-</head> |
-<body> |
-<div id="article"> |
- <div> |
- <div id="content" style="height: 300px; background-color: green;"></div> |
- </div> |
-</div> |
- |
-<div id="region_1"></div> |
-<div id="region_2"></div> |
- |
-<script> |
- description("Tests WebKitNamedFlow.getRegions() and the DOM order of the list") |
- if (window.testRunner) { |
- testRunner.dumpAsText(); |
- } |
- |
- function getRegionAt(index) { |
- var flow = getFlowByName("article"); |
- var regions = flow.getRegions(); |
- if (regions.length <= index) |
- return null; |
- |
- return regions[index]; |
- } |
- |
- function flowContent(flowName) { |
- var r = document.getElementById("region_1"); |
- r.style.webkitFlowFrom = flowName; |
- r = document.getElementById("region_2"); |
- r.style.webkitFlowFrom = flowName; |
- } |
- |
- function test() { |
- debug("Flow content"); |
- flowContent("article"); |
- |
- debug("Test if the regions are in DOM order"); |
- shouldBeEqualToString("getRegionAt(0).id", "region_1"); |
- shouldBeEqualToString("getRegionAt(1).id", "region_2"); |
- |
- debug("Empty content"); |
- flowContent(null); |
- } |
- test(); |
-</script> |
-</body> |
-</html> |