summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/325967-1.html
blob: 9231d7ff3f1019380dabfc096699bce833055a47 (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
<html class="reftest-wait">
<head>

<script>

function init()
{
  var ww = document.getElementById("ww");
  var inp = document.getElementById("inp");
  
  document.addEventListener("DOMNodeInserted", u);

  document.body.appendChild(ww);
  
  function u()
  { 
    document.removeEventListener("DOMNodeInserted", u);
    ww.removeChild(inp);
    document.documentElement.removeAttribute("class");
  }
}

</script>

</head>

<body onload="init()"><div id="ww"><input type="text" value="inputtext" id="inp">moretext</div></body>

</html>