servo/tests/wpt/css-tests/css-shapes-1_dev/xhtml1/reference/shape-outside-box-005-ref.xht

39 lines
No EOL
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;
}
#container {
position: relative;
}
#line {
position: absolute;
top: 0px;
left: 100px;
width: 2px;
height: 200px;
border-left: 2px solid blue;
}
#square {
position: absolute;
top: 80px;
left: 60px;
width: 40px;
height: 40px;
background-color: green;
}
</style></head>
<body>
<p>The test passes if there is a green square to the left of the blue line. There should be no red.</p>
<div id="container">
<div id="line"></div>
<div id="square"></div>
</div>
</body></html>