summaryrefslogtreecommitdiffstats
path: root/gfx/tests/crashtests/393822-1.html
blob: e763632dfb6f9951abe93c9ab29a138197811a05 (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
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>

var ff;
var jj;

function boom()
{
  ff = document.createElement("font");
  ff.setAttribute("size", "-2");
  ff.appendChild(document.createTextNode("G"));
  
  jj = document.getElementById("jj");
  
  jj.appendChild(ff);
  setTimeout(boom2, 30);
}

function boom2()
{
  jj.removeChild(ff);
  
  document.documentElement.removeAttribute("class");
}
  
</script>
</head>

<body onload="boom();" dir="rtl"><div id="jj">h </div></body>

</html>