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

58 lines
No EOL
1.5 KiB
HTML

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