blob: b812b19aea73789679e40cc3d4a3e9eadf268310 (
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
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"><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">
.bar {
position: absolute;
top: 50px;
width: 50px;
height: 200px;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
#bar-1 {
left: 20px;
}
#bar-2 {
left: 70px;
}
#bar-3 {
left: 120px;
}
#bar-4 {
left: 170px;
}
</style>
</head>
<body>
<p>The test passes if there is a square with four vertical
stripes alternating green and blue, and no red.</p>
<div id="bar-1" class="green bar"></div>
<div id="bar-2" class="blue bar"></div>
<div id="bar-3" class="green bar"></div>
<div id="bar-4" class="blue bar"></div>
</body></html>
|