servo/tests/wpt/css-tests/css-regions-1_dev/xhtml1/reference/regions-layers-003-ref.xht

39 lines
No EOL
893 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 Reftest Reference</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
<style>
#content {
font-family: Ahem;
font-size: 20px;
line-height: 1em;
color: green;
}
#region {
position: absolute;
overflow: visible;
top: 100px;
left: 50px;
width: 100px;
height: 50px;
border: 10px solid lime;
border-bottom-width: 0;
}
</style>
</head>
<body>
<ol>
<li>You should see no red.</li>
<li>Test passes if you see a dark green square with a light green border around its top half.</li>
</ol>
<div id="region">
<div id="content">
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx
</div>
</div>
</body></html>