<!DOCTYPE html> <!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.container { | |
width: 400px; | |
background-color: green; | |
color: green; | |
font-family: Ahem; | |
font-size: 10px; | |
} | |
.float { | |
float: right; | |
background-color: blue; | |
width: 110%; | |
height: 100px; | |
} | |
</style> | |
<div class=container> | |
<div class="float"></div> | |
<div class="container">Float is too wide to place this content next to.</div> | |
</div> |