Chromium Code Reviews| Index: LayoutTests/fast/table/table-rowspan-cell-with-empty-cell.html |
| diff --git a/LayoutTests/fast/table/table-rowspan-cell-with-empty-cell.html b/LayoutTests/fast/table/table-rowspan-cell-with-empty-cell.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..b2a580457e225b9da6a7f2d7e89bd27f44b5d4f5 |
| --- /dev/null |
| +++ b/LayoutTests/fast/table/table-rowspan-cell-with-empty-cell.html |
| @@ -0,0 +1,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;} |
| + .red {background: blue;} |
|
Julien - ping for review
2013/11/13 07:13:17
.red -> background blue
There is probably a misma
a.suchit
2013/11/19 11:59:56
Done.
|
| + .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="red"> |
| + <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> |