blob: a65025f4ad9f1313302e7df0c58dbca9a2aceab9 (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
<!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: 75px;
width: 50px;
background-color: green;
}
#bar-1, #bar-2, #bar-3, #bar-4 {
height: 200px;
}
#bar-1 {
left: 20px;
}
#bar-2 {
left: 80px;
}
#bar-3 {
left: 140px;
}
#bar-4 {
left: 200px;
}
.square {
height: 50px;
left: 260px;
}
</style>
</head>
<body>
<p>The test passes if there are four green vertical bars, plus one
small green square to their right and no red.</p>
<div id="bar-1" class="green"></div>
<div id="bar-2" class="green"></div>
<div id="bar-3" class="green"></div>
<div id="bar-4" class="green"></div>
<div id="square" class="green"></div>
</body></html>
|