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

Side by Side Diff: LayoutTests/fast/regions/positioned-objects-inline-static-spanning-regions-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
3 <style>
4
5 #green-box1 {
6 width:100px;
7 height:150px;
8 margin-left:52px;
9 margin-right:50px;
10 }
11
12 #grey-box1 {
13 width:160px;
14 height:122px;
15 margin-top:30px;
16 margin-left:20px;
17 margin-right:20px;
18 }
19
20 #green-box2 {
21 width:150px;
22 height:180px;
23 margin-left:62px;
24 margin-right:85px;
25 }
26
27 #grey-box2 {
28 width:240px;
29 height:180px;
30 margin-left:30px;
31 margin-right:30px;
32 }
33
34 #green-box3 {
35 width:60px;
36 height:120px;
37 margin-left:44px;
38 margin-right:15px;
39 }
40
41 #grey-box3 {
42 width:96px;
43 height:50px;
44 margin-left:12px;
45 margin-right:11px;
46 }
47
48 #green-box1, #green-box2, #green-box3 {
49 background-color: #00a000;
50 position:absolute;
51 }
52
53 #grey-box1, #grey-box2, #grey-box3 {
54 background-color: #cccccc;
55 position:absolute;
56 z-index:-1;
57 }
58
59
60 #region1, #region2, #region3 {
61 border: 1px solid black;
62 }
63
64 #region1 {
65
66 width: 200px;
67 height: 150px;
68 }
69
70 #region2 {
71 width: 300px;
72 height: 180px;
73 }
74
75 #region3 {
76 width: 120px;
77 height: 120px;
78 }
79 </style>
80
81 <body>
82 <p>The green positioned object should go through all three regions. Its left edg e should have the
83 same offset from the left side of the light grey boxes in each region.</p>
84
85
86
87 <div id="region1">
88 <div id="green-box1"></div>
89 <div id="grey-box1"></div>
90 </div>
91 <div id="region2">
92 <div id="green-box2"></div>
93 <div id="grey-box2"></div>
94 </div>
95 <div id="region3">
96 <div id="green-box3"><br></div>
97 <div id="grey-box3"></div>
98 </div>
99
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698