servo/tests/wpt/css-tests/css-regions-1_dev/html/reference/content-node-layers-005-ref.htm

37 lines
No EOL
707 B
HTML

<!DOCTYPE html>
<html><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;
position: relative;
width: 125px;
height: 125px;
background-color: lightgreen;
}
#content-child {
position: absolute;
color: green;
top: 20px;
left: 20px;
}
</style>
</head>
<body>
<ol>
<li>You should see no red.</li>
<li>Test passes if you see a dark green square in the middle of a light green square.</li>
</ol>
<div id="content">
<div id="content-child">
xxxx
xxxx
xxxx
xxxx
</div>
</div>
</body></html>