servo/tests/wpt/css-tests/css-regions-1_dev/html/reference/floated-regions-004-ref.htm

53 lines
No EOL
923 B
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;
}
.flow {
color: green;
}
.inner-flow {
color: blue;
}
.region {
border: 10px solid black;
}
.float {
float: right;
}
</style>
</head>
<body>
<p>
Test passes if you see a horizontal, black-bordered rectangle with a green square at its
left end and a blue square at its right end. The rectangle should be approximately as
wide as the page.<br>
You should see no red.
</p>
<div class="region">
<article class="flow">
<div class="inner-flow float">
xxxxx<br>
xxxxx<br>
xxxxx<br>
xxxxx<br>
xxxxx
</div>
xxxxx<br>
xxxxx<br>
xxxxx<br>
xxxxx<br>
xxxxx
</article>
</div>
</body></html>