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

58 lines
No EOL
1.7 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;
width: 100px;
}
.full {
height: 200px;
}
.half {
height: 100px;
}
.green {
background-color: green;
top: 150px;
}
.lightgreen {
background-color: lightgreen;
}
#rect-1 {
left: 20px;
}
#rect-2 {
left: 150px;
}
#rect-3 {
top: 250px;
left: 150px;
}
#rect-4 {
top: 150px;
left: 280px;
}
</style>
</head>
<body>
<p>The test passes if:
</p><ul>
<li>There is a dark green vertical rectangle on the left</li>
<li>There is a dark green square in the middle with a light green
square below it</li>
<li>There is a light green vertical rectangle on the right</li>
<li>There is no red
</li></ul>
<p></p>
<div id="rect-1" class="green bar full"></div>
<div id="rect-2" class="green bar half"></div>
<div id="rect-3" class="lightgreen bar half"></div>
<div id="rect-4" class="lightgreen bar full"></div>
</body></html>