Backed out changeset 2960ea3e50ca (bug 1881157) for causing crashtest assertion failu...
[gecko.git] / layout / tables / crashtests / 370710.xhtml
blob1e4faad51fc72ebcfe7a7c2997fa1e66d98ba308
1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
2 <head>
3 <script>
5 function boom()
7 var tr2 = document.getElementById('tr2');
8 var newTD = document.createElement('td');
9 newTD.setAttribute('colspan', 2);
10 newTD.appendChild(document.createTextNode('x'));
11 tr2.insertBefore(newTD, document.getElementById('b'));
13 document.getElementById('a').setAttribute('colspan', 1);
14 document.getElementById('b').setAttribute('colspan', 3);
16 document.documentElement.removeAttribute("class");
19 </script>
20 </head>
22 <body onload="setTimeout(boom, 250);">
24 <table style="border-collapse: collapse;" border="1">
25 <tbody>
26 <tr>
27 <td id="a" colspan="3">A</td>
28 </tr>
29 <tr id="tr2">
30 <td id="b">B</td>
31 </tr>
32 <tr>
33 <td>C</td>
34 </tr>
35 </tbody>
36 </table>
38 </body>
39 </html>