mirror of
https://github.com/servo/servo.git
synced 2025-06-24 09:04:33 +01:00
37 lines
No EOL
840 B
HTML
37 lines
No EOL
840 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;
|
|
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> |