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

Unified Diff: LayoutTests/fast/regions/layers/float-region-promoted-to-layer.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/layers/float-region-promoted-to-layer.html
diff --git a/LayoutTests/fast/regions/layers/float-region-promoted-to-layer.html b/LayoutTests/fast/regions/layers/float-region-promoted-to-layer.html
deleted file mode 100644
index d8026b2869c26d9013a3ad57b24353faf052f4a8..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/regions/layers/float-region-promoted-to-layer.html
+++ /dev/null
@@ -1,60 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <link rel="stylesheet" href="../resources/region-style.css">
- <style>
- .redBox
- {
- position: relative;
- }
- .dummyFloat /* This float pushes away the floats in the region. So we make sure that the floats flowed in
- the regions are positioned correctly. */
- {
- float: left;
- width: 1px;
- height: 10px;
- }
- .box1
- {
- width: 50px;
- height: 10px;
- }
- .box2
- {
- border-left: gray 50px solid; /* The border will be painted on top of the first region */
- position: relative; /* Making box2 have its own layer so if, by mistake, it gets to render the redBox
- instead of box1, the redBox will be visible */
- width: 200px;
- height: 60px;
- }
- .borderBox
- {
- border: none;
- }
- </style>
- </head>
- <body>
- <div class="flowArticle">
- <div class="redBox"></div>
- <div class="orangeBox"></div>
- </div>
-
- <div class="box1">
- <div class="dummyFloat"></div>
- <!-- The following element will get its own layer. -->
- <div class="regionArticle borderBox"></div>
- </div>
-
- <div class="box2">
- <div class="regionArticle borderBox"></div>
- </div>
-
- <p>Testing that regions become layers as required by the content that display in those regions.
- In this case the region is also a float and we are testing that the correct enclosing
- layer will paint the region as needed. In this case box1 is responsible of painting
- the first region, even though the whole element fits inside box2.
- There should be two boxes: one taller gray box and one orange box. The orange box has a black border.
- The test fails if there's any red on screen.
- </p>
- </body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698