servo/tests/wpt/css-tests/css-shapes-1_dev/xhtml1/reference/shape-outside-linear-gradient-001-ref.xht

35 lines
No EOL
941 B
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="betravis@adobe.com" rel="author" title="Bear Travis" />
<style type="text/css">
.container {
width: 200px;
height: 200px;
background-color: red;
font-family: Ahem;
font-size: 50px;
line-height: 1;
}
#test {
color: green;
}
#gradient {
float: left;
width: 100px;
height: 200px;
background-color: green;
}
</style>
</head>
<body>
<p>
The test passes if you see a green square. There should be no red.
</p>
<div class="container" id="test">
<div id="gradient"></div>
xx xx xx xx
</div>
</body></html>