Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / layout / tables / crashtests / 343087-1.html
blobfdde3f9ba7e262e06c05bd2d635812ccc90b2360
1 <!doctype html public "-//w3c//dtd html 3.2//en">
3 <html>
5 <head>
6 <title>testcase</title>
7 <script>
9 function doit()
11 var doc = window.document;
12 var t1 = doc.getElementById('table1');
13 var tb = doc.createElement('tfoot');
14 var tr = doc.createElement('tr');
15 tb.appendChild(tr);
16 t1.appendChild(tb);
17 var tb = doc.createElement('tfoot');
18 var tr = doc.createElement('tr');
19 tb.appendChild(tr);
20 t1.appendChild(tb);
21 var tb = doc.createElement('tfoot');
22 var td = doc.createElement('td');
23 tr.appendChild(td);
24 tb.appendChild(tr);
25 t1.insertBefore(tb, doc.getElementById("colg1"));
26 tr.remove();
28 </script>
30 </head>
32 <body onload="doit()">
34 <table id="table1"><tbody id="tbody1"><tr id="tr1"><td id="td1">x</td></tr></tbody><colgroup id ="colg1"></table>
38 </body>
40 </html>