Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / layout / tables / crashtests / 344000-1.html
blob407d47c42f99288af98e0a3f2222ffa9e7a9c06e
1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head>
3 <title>dom cellmap crash</title>
7 <script>
8 function doit()
10 var doc = window.document;
11 var t1= doc.getElementById('table1');
12 var tbA = doc.createElement('tbody');
13 t1.appendChild(tbA);
14 var trA = doc.createElement('tr');
15 var td = doc.createElement('td');
16 td.setAttribute('rowspan', 2);
17 trA.appendChild(td);
18 tbA.appendChild(trA);
19 var trB = doc.createElement('tr');
20 var tdB = doc.createElement('td');
21 tdB.setAttribute('rowspan', 2);
22 trB.appendChild(tdB);
23 tbA.appendChild(trB);
24 tdB.remove();
25 trA.remove();
26 trB.remove();
27 var tb = doc.createElement('tbody');
28 trB.appendChild(tdB);
29 tb.appendChild(trB);
30 t1.appendChild(tb);
32 </script>
34 </head>
36 <body onload="doit()">
38 <table id="table1"><tbody id="tbody1"><tr id="tr1"><td id="td1">x</td></tr></tbody></table>
43 </body>
45 </html>