blob: 1dc2647391474a354557ca1969ab6c272968df09 [file] [log] [blame]
<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
div {
overflow: hidden;
width: 40px;
height: 40px;
background-color: green;
}
.float {
background-color: blue;
width: 20px;
height: 20px;
}
</style>
<div>
<div class=float style="float: left;"></div>
<div class=float style="float: left; clear: left"></div>
</div>
<div>
<div class=float style="float: right;"></div>
<div class=float style="float: right; clear: right"></div>
</div>
<div>
<div class=float style="float: right;"></div>
<div class=float style="float: left; clear: right"></div>
</div>
<div>
<div class=float style="float: left;"></div>
<div class=float style="float: right; clear: left"></div>
</div>
<div>
<div class=float style="float: left;"></div>
<div class=float style="float: right; clear: right"></div>
</div>
<div>
<div class=float style="float: right;"></div>
<div class=float style="float: left; clear: left"></div>
</div>