mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
68 lines
No EOL
1.4 KiB
HTML
68 lines
No EOL
1.4 KiB
HTML
<!DOCTYPE html>
|
|
<html><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;
|
|
}
|
|
|
|
.spaced {
|
|
margin: 1em 2em 3em 5em;
|
|
color: green;
|
|
}
|
|
|
|
.float {
|
|
float: left;
|
|
color: blue;
|
|
}
|
|
.bordered {
|
|
border: 10px solid black;
|
|
}
|
|
|
|
.region {
|
|
display: inline-block;
|
|
float: left;
|
|
margin-left: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>
|
|
<!-- TODO Determine what the outcome should be - currently expecting a resolution on
|
|
the issue on www-style/css3-break -->
|
|
Test passes if you see two colored squares each inside a black-bordered rectangle:
|
|
</p><ul>
|
|
<li>The black-bordered rectangles should be separated by a small horizontal space</li>
|
|
<li>The colored squares should be positioned roughly in the top-left area of their
|
|
rectangles, but without being flush to any of its sides</li>
|
|
</ul><br>
|
|
You should see no red.
|
|
<p></p>
|
|
|
|
<div class="bordered region">
|
|
<article>
|
|
<div class="spaced float">
|
|
xxxxx<br>
|
|
xxxxx<br>
|
|
xxxxx<br>
|
|
xxxxx<br>
|
|
xxxxx
|
|
</div>
|
|
</article>
|
|
</div><div class="bordered region">
|
|
<article>
|
|
<div class="break spaced">
|
|
xxxxx<br>
|
|
xxxxx<br>
|
|
xxxxx<br>
|
|
xxxxx<br>
|
|
xxxxx
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
|
|
</body></html> |