servo/tests/wpt/css-tests/css-regions-1_dev/html/reference/flow-into-BFC-001-ref.htm

29 lines
No EOL
774 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Regions establish a new block formatting context</title>
<link rel="author" title="Alan Stearns" href="mailto:stearns@adobe.com">
<style type="text/css">
.blueBox{
background-color: blue;
width: 100px;
height: 100px;
float: left;
}
.floatLeft{
float: left;
width: 100px;
height: 100px;
background-color: green;
}
.error{
color: red;
}
</style>
</head>
<body>
<p>Test passes if you see a blue square to the right of a green square.</p>
<div class="floatLeft"></div>
<div class="blueBox"></div>
</body>
</html>