<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<html>
<head>
<style>
div {
	border: 1px solid black;
}
</style>
</head>
<body>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="float: left; width: 50px; height: 20px;"></div>
	<div style="clear: left; width: 10px; height: 10px; margin-top: 30px"></div>
</div>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="float: right; width: 50px; height: 20px;"></div>
	<div style="clear: right; width: 10px; height: 10px; margin-top: 30px"></div>
</div>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="clear: both; width: 10px; height: 10px; margin-top: 30px"></div>
</div>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="float: left; width: 50px; height: 20px;"></div>
	<div style="float: right; width: 50px; height: 20px;"></div>
	<div style="clear: both; width: 10px; height: 10px; margin-top: 30px"></div>
</div>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="float: left; width: 50px; height: 20px;"></div>
	<div style="clear: both; width: 10px; height: 10px; margin-top: 30px"></div>
</div>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="float: right; width: 50px; height: 20px;"></div>
	<div style="clear: both; width: 10px; height: 10px; margin-top: 30px"></div>
</div>
<div style="width: 500px; height: 60px;">
	<div style="width: 10px; height: 10px; margin-bottom: 10px"></div>
	<div style="float: left; width: 50px; height: 5px;"></div>
	<div style="clear: left; width: 10px; height: 10px; margin-top: 10px"></div>
</div>
</body>
</html>