<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.table { | |
display: table; | |
width: 100px; | |
height: 100px; | |
background-color: green; | |
} | |
.float { | |
float: right; | |
width: 20px; | |
height: 20px; | |
background-color: blue; | |
} | |
</style> | |
<div class=table><div class=float></div></div> |