blob: bc6cedb76fac7da0988c732c67a77233f184c3ce [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
.float {
float: left;
width: 50px;
height: 50px;
background-color: blue;
}
.container {
font-family: Ahem;
font-size: 10px;
color: green;
background-color: green;
width: 300px;
}
</style>
<div style="width: 300px;">
<div class="float"></div>
<div class=container>foo<br style="clear: left">bar</div>
<div class="float" style="float: right; height: 60px;"></div>
<div class=container>foo<br style="clear: right">bar</div>
<div class="float"></div>
<div class="float" style="float: right; height: 60px;"></div>
<div class=container>foo<br style="clear: both">bar</div>
</div>