Backed out changeset 496886cb30a5 (bug 1867152) for bc failures on browser_user_input...
[gecko.git] / layout / tables / crashtests / 308752-2-inner.html
blob8ad3b5198646fa939526bcf0896f39107731a342
1 <html>
2 <head>
3 <script>
4 function init2() {
5 var one = document.getElementById('one');
6 var four = document.getElementById('two');
7 document.getElementsByTagName('table')[0].appendChild(one);
8 setTimeout('clickit()', 0);
11 function doe(){
12 two.remove();
14 function clickit()
16 var evt = document.createEvent("MouseEvents");
17 evt.initMouseEvent("click", true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
18 document.body.dispatchEvent(evt);
20 window.addEventListener("load", init2);
21 window.addEventListener("click", doe);
22 </script>
23 </head>
24 <body>
25 <table style="border-collapse: collapse;">
26 <tbody>
27 <tr><td rowspan="2">r11</td></tr>
28 <tr id="one"><td id="two">r21</td></tr>
29 <tr></tr>
30 </tbody>
31 </table>
32 Mozilla should not crash when clicking in the document
33 </body>
34 </html>