mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
38 lines
No EOL
1.1 KiB
HTML
38 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 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">
|
|
|
|
.green {
|
|
position: absolute;
|
|
top: 50px;
|
|
width: 50px;
|
|
height: 200px;
|
|
background-color: green;
|
|
}
|
|
#bar-1 {
|
|
left: 20px;
|
|
}
|
|
#bar-2 {
|
|
left: 80px;
|
|
}
|
|
#bar-3 {
|
|
left: 140px;
|
|
}
|
|
#bar-4 {
|
|
left: 200px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>The test passes if there are four green vertical bars and no red.</p>
|
|
<div id="bar-1" class="green"></div>
|
|
<div id="bar-2" class="green"></div>
|
|
<div id="bar-3" class="green"></div>
|
|
<div id="bar-4" class="green"></div>
|
|
|
|
|
|
</body></html> |