summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/table-rowspan-cell-override-logical-content-height-reset-issue.html
blob: 3bee468d315a269a4562753eb8e1ea854b5d6acf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<style>
    td, textarea { font: 20px/1 Ahem }
</style>
<script src="../../resources/check-layout.js"></script>
<body>
    <h3>Test for chromium bug : <a href="https://code.google.com/p/chromium/issues/detail?id=445253">445253</a>. Setting rowspan=2 on the table cell causes the whole table to resize again and again.</h3>
    <table border="1" data-expected-height="58">
        <tr>
            <td rowspan="2" id="ta"><textarea style='height:100%;'>Text area text</textarea></td>
        </tr>
    </table>
</body>

<script>
    document.body.offsetTop;
    document.getElementById("ta").rowSpan="2";
    checkLayout('table');
</script>