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

61 lines
No EOL
1.2 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Reftest Reference</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
<style>
article {
color: gray;
font-family: Ahem;
font-size: 20px;
line-height: 1em;
}
.left-floater {
float: left;
color: lightblue;
}
.right-floater {
float: right;
color: lightgreen;
}
.region {
width: 180px;
height: 60px;
margin: 10px;
}
</style>
</head>
<body>
<p>
Test passes if you see two identical rows of colored squares. Each row should have three
squares, from left to right as follows: blue, gray, green. The squares in a row should
be flush to each other, but the two rows should have some space between them.<br>
Test fails is you see any red.
</p>
<div class="region">
<article>
<div class="flow right-floater">xxx<br>xxx<br>xxx</div>
<div class="flow left-floater">xxx<br>xxx<br>xxx</div>
<div class="flow">
xxx
xxx
xxx
</div>
</article>
</div>
<div class="region">
<article>
<div class="flow right-floater">xxx<br>xxx<br>xxx</div>
<div class="flow left-floater">xxx<br>xxx<br>xxx</div>
<div class="flow">
xxx
xxx
xxx
</div>
</article>
</div>
</body></html>