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

55 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;
width: 240px;
background: red;
}
.flow {
color: blue;
}
.float {
float: left;
color: green;
border: 10px solid lightgreen;
}
.region {
overflow: hidden;
border: 10px solid lightblue;
}
</style>
</head>
<body>
<p>
Test passes if you see two squares flush side by side.<br />
The left square should be green with a light green border and the right one should be
blue with a light blue border.<br />
You should see no red.
</p>
<article>
<div class="float">
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx
</div>
<div class="region">
<div class="flow">
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx<br />
xxxxx
</div>
</div>
</article>
</body></html>