blob: 5d023821b39ee6f69ea59d5a50def60818bea57a [file] [log] [blame]
<!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=false ] -->
<style>
.container {
width: 100px;
height: 20px;
}
.floatBox {
float: left;
width: 20px;
height: 100%;
background-color: green;
}
.table {
display: table;
height: 20px;
background-color: blue;
}
</style>
<div class=container>
<div class=floatBox></div>
<div class=table></div>
</div>
<div class=container>
<div class=floatBox></div>
<div class=table style="width: 20px;"></div>
</div>
<div class=container>
<div class=floatBox></div>
<div class=table style="min-width: 20px;"></div>
</div>
<div class=container>
<div class=floatBox></div>
<div class=table style="max-width: 20px;"></div>
</div>
<div class=container>
<div class=floatBox></div>
<div class=table style="width: 40px; max-width: 40px;"></div>
</div>
<div class=container>
<div class=floatBox></div>
<div class=table style="width: 10px; min-width: 20px;"></div>
</div>