summaryrefslogtreecommitdiffstats
path: root/layout/tables/crashtests/370876-1.html
blob: d6ca97e181e0021184eb1b398f50b20ab0656206 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<html class="reftest-wait">
<head>
<script>
    
function boom()
{
  var a = document.getElementById("a");
  var b = document.getElementById("b");
  var x = document.getElementById("x");

  a.parentNode.insertBefore(x, a);
  x.parentNode.removeChild(x);
  b.parentNode.removeChild(b);
  
  document.documentElement.removeAttribute("class");
}

</script>
</head>


<body onload="setTimeout(boom, 30);">
    
  <table>
    <tr>
      <td id="x">X</td>
    </tr>
  </table>
                                                        
  <table border="1" style="border-collapse: collapse;">
    <tr>
      <td id="a">A</td>
    </tr>
    <tr>
      <td id="b" colspan="2">B</td>
    </tr>
  </table>

</body>

</html>