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

37 lines
No EOL
807 B
HTML

<!DOCTYPE html>
<html><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>