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

37 lines
No EOL
942 B
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>
.flow {
text-align: right;
color: gray;
}
.float {
width: 50px;
height: 50px;
background-color: lightblue;
float: left;
}
.region {
max-width: 150px;
margin: 5px;
border: 2px solid black;
}
</style>
</head>
<body>
<p>
Test passes if you see some filler gray text and a light blue square in the top left
corner of black-bordered rectangle.<br />
Test fails is you see any red.
</p>
<div class="region">
<div class="flow">
<div class="float"></div>
This is filler text. This is filler text. This is filler text. This is filler text. This is filler text.
</div>
</div>
</body></html>