summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/anonymous-table-section-removed.html
blob: 9a2fb439455483213c215326fcb4e6d7c145b790 (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
<!DOCTYPE html>
<html>
  <head>
    <style>
    table, tr, td {
        font: 26px/1 Ahem;
        border: 0px;
        padding: 0px;
        margin: 0px;
    }
    table {
        border-spacing: 2px;
    }
    </style>
  </head>
  <body id="body">
    <table id="table" data-expected-height="34"></table>
  </body>
  <script src="../../resources/check-layout.js"></script>
  <script>
    for (var i = 0; i < 20; i++) {
        document.body.offsetHeight;
        var p = document.getElementById('table');
        p.innerHTML = '<tr><td>Table</td></tr>';
        p.appendChild(document.createElement('tr'));
    }
    checkLayout('table');
  </script>
</html>