servo/tests/wpt/css-tests/css-multicol-1_dev/html4/reference/regions-multicol-028-ref.htm

41 lines
No EOL
1,019 B
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Test reference</title>
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
<style type="text/css">
.block {
position: absolute;
top: 70px;
width: 60px;
height: 120px;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
#rect-1 {
left: 20px;
}
#rect-2 {
left: 90px;
}
#rect-3 {
left: 190px;
}
#rect-4 {
left: 260px;
}
</style>
</head>
<body>
<p>The test passes if there are two green vertical rectangles on the left of two blue vertical rectangles.
There should be no red.</p>
<div id="rect-1" class="green block"></div>
<div id="rect-2" class="green block"></div>
<div id="rect-3" class="blue block"></div>
<div id="rect-4" class="blue block"></div>
</body></html>