summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/401589-1.xul
blob: 5d815c2cb0dcfd520a7c84602fe177179da80d82 (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
<window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns:math="http://www.w3.org/1998/Math/MathML"
        class="reftest-wait"
        onload="boom();">
        
<html:style type="text/css">
[class="mp"] { display: -moz-popup; }
</html:style>

<script>

function boom()
{
  document.getElementById("mtd").setAttribute("class", "mp");
  setTimeout(boom2, 30);
}

function boom2()
{
  document.getElementById("mtd").setAttribute("class", "");
  document.documentElement.removeAttribute("class");
}

</script>

<math:mtd id="mtd" />

</window>