Bug 1881621 - Add colors/color_canvas.html tests to dom/canvas/test/reftest. r=bradwerth
[gecko.git] / layout / tables / crashtests / 308752-1-inner.html
blob6d1b29f65b216da65805d9556b0efc3cb45e9f99
1 <html>
2 <head>
3 <script>
4 function init2() {
5 var one = document.getElementById('one');
6 var two = document.getElementById('two');
7 var three = document.getElementById('three');
8 var four = document.getElementById('four');
10 four.appendChild(two);
11 document.getElementsByTagName('tbody')[0].appendChild(three);
12 four.appendChild(three);
13 one.appendChild(four);
14 document.getElementsByTagName('table')[0].appendChild(one);
15 setTimeout('clickit()', 0);
18 function doe(){
19 four.remove();
22 function clickit()
24 var evt = document.createEvent("MouseEvents");
25 evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
26 document.body.dispatchEvent(evt);
29 window.addEventListener("load", init2);
30 window.addEventListener("click", doe);
31 </script>
32 </head>
33 <body>
34 <table style="border-collapse: collapse;"><tbody>
35 <tr> <td rowspan="5">P</td> <td id="three">6</td> <td>O</td> </tr>
36 <tr> <td id="four">5</td> <td>P</td> </tr>
37 <tr id="five"> <td>5</td> <td>U</td> </tr>
38 <tr id="one"> <td>6</td> <td>S</td> </tr>
39 <tr id="two"> <td>S</td> <td>9</td> </tr>
40 </tbody></table>
41 Mozilla should not crash when clicking in the document
42 </body></html>