blob: 9176c0c4b21aef357c426e2682a753d845555b60 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
<!DOCTYPE html>
<html><head>
<title>CSS Test reference</title>
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
<!-- Reviewed on Github on 09-26-2013: https://github.com/w3c/csswg-test/pull/89 -->
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan">
<style type="text/css">
.green {
position: absolute;
top: 70px;
background-color: green;
width: 100px;
height: 200px;
}
#rect-1 {
left: 20px;
}
#rect-2 {
left: 150px;
}
#rect-3 {
left: 280px;
}
</style>
</head>
<body>
<p>The test passes if there are three vertical green rectangles and no red.</p>
<div id="rect-1" class="green"></div>
<div id="rect-2" class="green"></div>
<div id="rect-3" class="green"></div>
</body></html>
|