<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] -->
<html>
<body>
<div style="width: 400px; height: 100px;">
    <div style="float: left; width: 50px; height: 25px;"></div>
    <div style="float: left; width: 50px; height: 50px;"></div>
    <div style="float: left; width: 50px; height: 5px;"></div>
    <div style="float: left; width: 50px; height: 40px;"></div>
    <div style="float: right; width: 180px; height: 80px;"></div>
    <div style="overflow:hidden; width: 50px; height: 50px;">
</div>
<div style="overflow:hidden; width: 50px; height: 50px;">
</div>
</body>
</html>
