<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style type="text/css"> | |
.container { | |
background-color: green; | |
width: 120px; | |
height: 120px; | |
font-size: 10px; | |
color: green; | |
} | |
.float { | |
background-color: blue; | |
height: 16px; | |
width: 80px; | |
float: left; | |
} | |
</style> | |
<div class=container><div class=float></div><div class=float style="width: 60px"></div>textcontent</div> |