servo/tests/wpt/css-tests/css-shapes-1_dev/html/reference/shape-outside-linear-gradient-004-ref.htm

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>