blob: 317cd319b255fe732cdeb4f8a56e517895603f9e [file] [log] [blame]
<!DOCTYPE html>
<style>
table, .table {
border-spacing: 0px;
table-layout: fixed;
width: 0px;
}
.table {
display: table;
}
.td {
display: table-cell;
}
td, .td {
height: 100px;
width: 100px;
border: 10px solid green;
padding: 0px;
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
</style>
<p>Bug <a href="https://bugs.webkit.org/show_bug.cgi?id=87536">87536</a>: REGRESSION(r111742): box-sizing: border-box doesn't work on fixed table layout</p>
<p>You should see 4 100px * 100px cells with green borders.</p>
<table>
<td></td>
<td></td>
</table>
<div class="table">
<div class="td"></div>
<div class="td"></div>
</div>