mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
60 lines
No EOL
1.1 KiB
HTML
60 lines
No EOL
1.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 Reftest Reference</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan" />
|
|
<style>
|
|
article {
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 1em;
|
|
color: green;
|
|
}
|
|
|
|
.float {
|
|
float: left;
|
|
color: blue;
|
|
}
|
|
|
|
.bordered {
|
|
border: 10px solid black;
|
|
}
|
|
|
|
.region {
|
|
overflow: hidden;
|
|
max-width: 100px;
|
|
margin-bottom: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
Test passes if you see two squares separated by a small vertical space. The squares should
|
|
have a black outline, the top square should be blue and the bottom one should be green.<br />
|
|
You should see no red.
|
|
</p>
|
|
|
|
<div class="bordered region">
|
|
<article>
|
|
<div class="float">
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
</div>
|
|
</article>
|
|
</div>
|
|
<div class="bordered region">
|
|
<article>
|
|
<div>
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
xxxxx
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
|
|
</body></html> |