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

36 lines
No EOL
1 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" />
<style type="text/css">
.block {
position: absolute;
top: 70px;
width: 60px;
}
.green {
background-color: green;
height: 60px;
}
#square-1 {
left: 20px;
}
#square-2 {
left: 90px;
}
#blue-rect {
background-color: blue;
height: 120px;
left: 190px;
}
</style>
</head>
<body>
<p>The test passes if there are two green side by side squares on the left of one blue vertical rectangle.
There should be no red.</p>
<div id="square-1" class="green block"></div>
<div id="square-2" class="green block"></div>
<div id="blue-rect" class="block"></div>
</body></html>