blob: 317cd319b255fe732cdeb4f8a56e517895603f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
<!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>
|