summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/343087-1.html
blob: fdde3f9ba7e262e06c05bd2d635812ccc90b2360 (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
39
40
<!doctype html public "-//w3c//dtd html 3.2//en">

<html>

<head>
<title>testcase</title>
<script>

function doit()
{
	var doc = window.document;
	var t1 = doc.getElementById('table1');
	var tb =  doc.createElement('tfoot');
	var tr = doc.createElement('tr');
	tb.appendChild(tr);
	t1.appendChild(tb);
	var tb =  doc.createElement('tfoot');
	var tr = doc.createElement('tr');
      tb.appendChild(tr);
	t1.appendChild(tb);
	var tb =  doc.createElement('tfoot');
      var td = doc.createElement('td');
	tr.appendChild(td); 
      tb.appendChild(tr);
 	t1.insertBefore(tb, doc.getElementById("colg1"));
	tr.remove();
}
</script>

</head>

<body onload="doit()">

<table id="table1"><tbody id="tbody1"><tr id="tr1"><td id="td1">x</td></tr></tbody><colgroup id ="colg1"></table>



</body>

</html>