blob: 56d556a8ac1a40c8c0ea88cb692d16e9dd1671d0 [file] [log] [blame]
<!DoCTYPE html>
<style>
.background {
width: 210px;
height: 210px;
background-color: green;
}
.outer {
white-space: nowrap;
width: 100px;
height: 200px;
}
.inner {
width: 50px;
height: 100px;
display: inline-block;
white-space: normal;
background-color: green;
}
.float {
float: left;
}
</style>
<p>crbug.com:552475: Floating elements that wrap their contents shouldn't cause a line-break in a no-wrap context. There should be a green square below.</p>
<div class="background">
<div class="outer">
<div class="inner"></div>
<div class="inner"></div>
<div class="float"></div>
<div class="inner"></div>
</div>
</div>