summaryrefslogtreecommitdiffstats
path: root/dom/xbl/crashtests/368276-1.xhtml
blob: 162494b2cdb3fa4cf43e6b64b8ba2d750f9a37f1 (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
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      class="reftest-wait">

<head>
<script>

function boom()
{
  var quote = document.getElementById("quote");
  var para = document.getElementById("para");
  var dialog = document.getElementById("dialog");
  var e = document.getElementById("e");

  dialog.appendChild(quote);
  e.insertBefore(quote, para);
  
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="setTimeout(boom, 30)">

<p>He said <q id="quote">J<xul:hbox/></q></p>

<xul:dialog id="dialog"/>

<div id="e"><p id="para">Foopy</p></div>

</body>
</html>