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

Unified Diff: LayoutTests/fast/regions/named-flow-content-order-1.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/named-flow-content-order-1.html
diff --git a/LayoutTests/fast/regions/named-flow-content-order-1.html b/LayoutTests/fast/regions/named-flow-content-order-1.html
deleted file mode 100644
index 5074384d5c0fca094effb7361fc92429a00c137d..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/named-flow-content-order-1.html
+++ /dev/null
@@ -1,57 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <style>
- .region {
- -webkit-flow-from: content-flow;
- height: 60px;
- width: 120px;
- border: 2px solid black;
- }
-
- .float {
- float: left;
- -webkit-flow-into: content-flow;
- height: 60px;
- width: 40px;
- }
-
- #red {
- background-color: red;
- }
-
- #green {
- background-color: green;
- }
-
- #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 three colored content nodes (blocks) 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, green, blue.</p>
-
- <div id="red" class="float">1</div>
- <div id="green"class="float">2</div>
- <div id="blue" class="float">3</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");
- readd(greenElement);
- var redElement = document.getElementById("red");
- readd(redElement);
- }
- </script>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698