summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/overallocating-width-with-table-cell-with-specified-width.html
blob: bf6283836526e77be8ed32310f706afade816aa7 (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
<!DOCTYPE html>
<div style="width: 400px;">
    <table border=1>
        <tr>
            <td width="14" id="first" data-expected-width=18></td>
            <td>M</td>
            <td>
               Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text    
            </td>
            <td>
                Text Text
            </td>
        </tr>
        <tr>
            <td width="14" id="first" data-expected-width=18></td>
            <td>M</td>
            <td>
               Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text Text    
            </td>
            <td>
                Text Text
            </td>
        </tr>
    </table>
</div>
<div id="test-output"></div>
<div> crbug.com/504124: overallocating width unwinds correctly on auto width cells
<script src="../../resources/check-layout.js"></script>
<script>
    window.checkLayout("#first", document.getElementById("test-output"));
</script>