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