servo/tests/wpt/css-tests/css-regions-1_dev/xhtml1/reference/floats-in-named-flow-032-ref.xht

69 lines
No EOL
1.6 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;
}
.float {
float: left;
color: blue;
padding: 1em 2em 3em 4em;
}
.outer-container {
display: inline-block;
border: 10px solid black;
}
.regions-container {
padding: 20px 15px 10px 5px;
}
.content {
padding: 2px 4px 8px 16px;
color: green;
}
</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 inside a black-bordered rectangle.<br />
The first (top to bottom) square should be blue, while the second should be green.<br />
The blue square should be roughly horizontally centered and the green square should be
near the bottom left corner of the rectangle. Neither square should touch the black border.<br />
You should see no red.
</p>
<div class="outer-container">
<div class="regions-container">
<div>
<article>
<div class="float">
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx
</div>
<div class="content">
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx
</div>
</article>
</div>
</div>
</div>
</body></html>