mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
45 lines
No EOL
1.1 KiB
HTML
45 lines
No EOL
1.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 Reference File</title>
|
|
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck" />
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
}
|
|
.line {
|
|
position: absolute;
|
|
top: 60px;
|
|
width: 2px;
|
|
height: 200px;
|
|
border-left: 2px solid blue;
|
|
}
|
|
.right {
|
|
left: 220px;
|
|
}
|
|
.left {
|
|
left: 60px;
|
|
}
|
|
.top {
|
|
top: 90px;
|
|
left: 180px;
|
|
}
|
|
.bottom {
|
|
top: 170px;
|
|
left: 60px;
|
|
}
|
|
.square {
|
|
position: absolute;
|
|
width: 40px;
|
|
height: 40px;
|
|
background-color: green;
|
|
}
|
|
</style></head>
|
|
|
|
<body>
|
|
<p>The test passes if there there are two green squares between the blue lines. There should be no red.</p>
|
|
<div class="bottom square"></div>
|
|
<div class="top square"></div>
|
|
<div class="left line"></div>
|
|
<div class="right line"></div>
|
|
|
|
</body></html> |