servo/tests/wpt/css-tests/css-regions-1_dev/html/reference/floats-in-named-flow-017-ref.htm

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;
color: green;
}
.float {
float: left;
color: blue;
}
.region {
margin: 20px;
}
#spacer {
height: 10px;
}
</style>
</head>
<body>
<!-- TODO: Must reconfirm this behavior based on the latest version of the fragmentation spec. -->
<p>
Test passes if you see two rows, each with two equally sized blue and green squares (blue
on the left, green on the right); the squares should be flush to one another but there
should be a small vertical space between the two rows.<br>
You should see no red.
</p>
<div class="region">
<article class="flow">
<div>
<div class="float">
<span>xxxx<br></span>
<span>xxxx<br></span>
<span>xxxx<br></span>
<span>xxxx</span>
</div>
xxxx<br>
xxxx<br>
xxxx<br>
xxxx
<div id="spacer">&nbsp;</div>
</div>
</article>
</div>
<div class="region">
<article class="flow">
<div>
<div class="float">
<span>xxxx<br></span>
<span>xxxx<br></span>
<span>xxxx<br></span>
<span>xxxx</span>
</div>
xxxx<br>
xxxx<br>
xxxx<br>
xxxx
</div>
</article>
</div>
</body></html>