blob: 73974aae2f90250360bb8e58e50f3a333891ed53 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true LayoutFormattingContextIntegrationEnabled=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>