summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/416845-3.html
blob: 6e0ac2c88d20b304c642d3d4a8fc0cc0a9eb3fdb (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
32
33
34
35
36
37
38
<!DOCTYPE HTML>
<html class="reftest-wait">
<head>
    <style type="text/css">

        html,body {
            color:black; background-color:white; font-size:16px; padding:0; margin:0;
        }

    </style>

<script>
function insertTable() {
  var table = document.createElement('table');
  var tbody = document.createElement('tbody');
  var tbody2 = document.createElement('tbody');
  var text = document.createTextNode('1');
  var text2 = document.createTextNode('2');
  tbody.appendChild(text);
  tbody2.appendChild(text2);
  table.appendChild(tbody);
  table.appendChild(tbody2);

  table.setAttribute('height','82');
  table.setAttribute('style','border:6px solid lime');

  tbody2.setAttribute('height','30');

  document.body.appendChild(table);

  setTimeout(function() { document.documentElement.className = ""; }, 0);
}
</script>
</head>

<body onload="insertTable()"></body>

</html>