mirror of
https://github.com/servo/servo.git
synced 2025-06-26 10:04:33 +01:00
42 lines
No EOL
1.1 KiB
HTML
42 lines
No EOL
1.1 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;
|
|
top: 50px;
|
|
width: 50px;
|
|
height: 200px;
|
|
}
|
|
.green {
|
|
background-color: green;
|
|
}
|
|
.blue {
|
|
background-color: blue;
|
|
}
|
|
#bar-1 {
|
|
left: 20px;
|
|
}
|
|
#bar-2 {
|
|
left: 70px;
|
|
}
|
|
#bar-3 {
|
|
left: 120px;
|
|
}
|
|
#bar-4 {
|
|
left: 170px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>The test passes if there is a square with four vertical
|
|
stripes alternating green and blue, and no red.</p>
|
|
<div id="bar-1" class="green bar"></div>
|
|
<div id="bar-2" class="blue bar"></div>
|
|
<div id="bar-3" class="green bar"></div>
|
|
<div id="bar-4" class="blue bar"></div>
|
|
|
|
</body></html> |