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

44 lines
No EOL
1 KiB
HTML

<!DOCTYPE html>
<html><head>
<title>CSS Reftest Reference</title>
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
<style>
.flow {
color: gray;
}
.float {
width: 50px;
height: 50px;
}
.right {
float: right;
background: lightgreen;
}
.left {
float: left;
background: lightblue;
}
.region {
width: 200px;
border: 2px solid black;
margin: 5px;
}
</style>
</head>
<body>
<p>
Test passes if you see a black-bordered rectangle with the following contents: a light blue
square in the top left corner, a light green square in the top right with some filler gray
text in between the squares and under them.<br>
Test fails is you see any red.
</p>
<div class="region">
<div class="flow">
<div class="float right"></div>
<div class="float left"></div>
This is filler text. This is filler text. This is filler text. This is filler text. This is filler text. This is filler text. This is filler text.
</div>
</div>
</body></html>