blob: ade5fe5c0a5e91b0d00fef79b74d9eecc0447a82 (
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
36
|
<!DOCTYPE html>
<html>
<head>
<script src="../../resources/check-layout.js"></script>
<style>
td { font: 15px/1 Ahem }
table {border-collapse: collapse;}
.dn {display: none;}
.blue {background: blue;}
.green {background: green;}
</style>
</head>
<body onload="checkLayout('#a')">
<h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=258420">258420</a>. Table rows are incorrectly collapsed in case of hidden cells and rowspans.</h3>
<h4>A spanning cell whose rows have only empty cell(s) shouldn't have a non-zero height.</h4>
<table>
<tbody>
<tr class="blue">
<td rowspan="3">A</td>
<td>A1</td>
<td>A1.1</td>
</tr>
<tr>
<td rowspan="2" id="a" data-expected-width = "56">A2</td>
<td class="dn">A2.1</td>
</tr>
<tr>
<td class="dn">A2.2</td>
</tr>
<tr class="green">
<td colspan="3">long last row</td>
</tr>
</tbody>
</table>
</body>
</html>
|