summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/colspan-with-empty-cells-needing-extra-width.html
blob: a8c5ce563f5756a07f7102a2d597babeb647d4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<style>
table td {
    padding: 0;
}
</style>
<p>crbug.com/534830: Don't deduct the min-width of empty cells from the available table width. There should be no red. </p>
<table style="width: 400px; background-color: red; border-spacing: 0px;">
    <tr>
        <td style="background-color:black; width: 10px; height:20px;"></td>
        <td style="background-color:blue;"></td>
    </tr>
    <tr>
        <td id="colspan" colspan="2" style="background-color:yellow;" data-expected-width=400>
            TestTestTest
        </td>
    </tr>
</table>
<div id="test-output"></div>
<script src="../../resources/check-layout.js"></script>
<script>
    window.checkLayout("#colspan", document.getElementById("test-output"));
</script>