mirror of
https://github.com/servo/servo.git
synced 2025-06-23 08:34:42 +01:00
36 lines
No EOL
930 B
HTML
36 lines
No EOL
930 B
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Reference File</title>
|
|
<link href="mailto:stearns@adobe.com" rel="author" title="Alan Stearns">
|
|
<style type="text/css">
|
|
.square {
|
|
display: inline-block;
|
|
width: 100px;
|
|
height: 100px;
|
|
line-height: 100px;
|
|
background-color: green;
|
|
}
|
|
#test {
|
|
position: absolute;
|
|
top: 70px;
|
|
width: 200px;
|
|
font-size: 0px;
|
|
}
|
|
#test > .right {
|
|
margin-left: 100px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
The test passes if there are four green squares alternating left and right. There
|
|
should be no red.
|
|
</p>
|
|
<div id="test">
|
|
<div class="square"></div><br>
|
|
<div class="square right"></div><br>
|
|
<div class="square"></div><br>
|
|
<div class="square right"></div>
|
|
</div>
|
|
|
|
</body></html> |