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

Side by Side Diff: LayoutTests/fast/regions/layers/float-region-promoted-to-layer-expected.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="../resources/region-style.css">
5 <style>
6 .dummyFloat
7 {
8 float: left;
9 width: 1px;
10 height: 10px;
11 }
12 .box1
13 {
14 width: 50px;
15 height: 10px;
16 }
17 .box2
18 {
19 /* The following border will be painted on top of the first regi on */
20 border-left: gray 50px solid;
21 /* Making box2 have its own layer */
22 position: relative;
23 width: 200px;
24 height: 60px;
25 }
26 .borderBox
27 {
28 border: none;
29 }
30 </style>
31 </head>
32 <body>
33 <div class="box1">
34 <div class="dummyFloat"></div>
35 <div class="borderBox" style="position: relative">
36 <div class="redBox"></div>
37 </div>
38 </div>
39
40 <div class="box2">
41 <div class="borderBox">
42 <div class="orangeBox"></div>
43 </div>
44 </div>
45
46 <p>Testing that regions become layers as required by the content that di splay in those regions.
47 In this case the region is also a float and we are testing that the corr ect enclosing
48 layer will paint the region as needed. In this case box1 is responsible of painting
49 the first region, even though the whole element fits inside box2.
50 There should be two boxes: one taller gray box and one orange box. The o range box has a black border.
51 The test fails if there's any red on screen.
52 </p>
53 </body>
54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698