servo/tests/wpt/css-tests/css-multicol-1_dev/xhtml1/reference/regions-multicol-019-ref.xht

43 lines
No EOL
1.3 KiB
HTML

<!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>