Index: LayoutTests/fast/regions/named-flow-content-order-2.html |
diff --git a/LayoutTests/fast/regions/named-flow-content-order-2.html b/LayoutTests/fast/regions/named-flow-content-order-2.html |
deleted file mode 100644 |
index ab84211d7a62fc2eb4a1a3f52dc205d2fe42ad45..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/named-flow-content-order-2.html |
+++ /dev/null |
@@ -1,66 +0,0 @@ |
-<!doctype html> |
-<html> |
- <head> |
- <style> |
- .region { |
- -webkit-flow-from: content-flow; |
- height: 180px; |
- width: 80px; |
- border: 2px solid black; |
- } |
- |
- .content { |
- -webkit-flow-into: content-flow; |
- height: 60px; |
- width: 40px; |
- } |
- |
- #red { |
- background-color: red; |
- } |
- |
- #green { |
- background-color: green; |
- display: inline-block; |
- } |
- |
- #yellow { |
- background-color: yellow; |
- display: inline-block; |
- } |
- |
- #blue { |
- background-color: blue; |
- } |
- </style> |
- </head> |
- <body onload="shuffle()"> |
- <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=103501">Fix content node renderers ordering inside the named flow thread</a>.</p> |
- <p>The test adds four colored content nodes (mix of inline and block) to a flow and then modifies the flow-into properties to force renderers to shuffle.</p> |
- <p>On success, you should see the blocks ordered: red (top), green, yellow (middle), blue (bottom).</p> |
- |
- <div id="red" class="content">1</div> |
- <div id="green"class="content">2</div> |
- <div id="yellow"class="content">3</div> |
- <div id="blue" class="content">4</div> |
- <div class="region"></div> |
- <script> |
- function readd(content) { |
- content.style.webkitFlowInto = "none"; |
- document.body.offsetTop; |
- content.style.webkitFlowInto = "content-flow"; |
- document.body.offsetTop; |
- } |
- function shuffle() { |
- var greenElement = document.getElementById("green"); |
- var redElement = document.getElementById("red"); |
- var yellowElement = document.getElementById("yellow"); |
- var blueElement = document.getElementById("blue"); |
- readd(greenElement); |
- readd(redElement); |
- readd(blueElement); |
- readd(yellowElement); |
- } |
- </script> |
- </body> |
-</html> |