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

38 lines
No EOL
1.2 KiB
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><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>CSS Test: Regions establish a new block formatting context</title>
<style type="text/css">
@page { font: italic 8pt sans-serif; color: gray;
margin: 7%;
counter-increment: page;
@top-left { content: "CSS Regions Module Level 1 CR Test Suite"; }
@top-right { content: "Test flow-into-bfc-001-ref"; }
@bottom-right { content: counter(page); }
}
</style>
<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>