summaryrefslogtreecommitdiffstats
path: root/layout/mathml/crashtests/366564-1.xhtml
blob: a83e5a8fe0b5a67f65819ce6c2339b07a1fd1253 (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
42
43
44
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 plus MathML 2.0//EN" "http://www.w3.org/Math/DTD/mathml2/xhtml-math11-f.dtd" >
<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
<head>
<script>
function boom1()
{
  document.getElementById("mfenced3").appendChild(document.getElementById("div4"));
  setTimeout(boom2, 30);
}

function boom2()
{
  document.getElementById("sup1").appendChild(document.getElementById("mo2"));
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="setTimeout(boom1, 30);">

<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <msup id="sup1">
    <mi>b</mi>
    <mn>2</mn>
  </msup>
</math></div>

<div><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mi>j</mi>
  <mo id="mo2">=</mo>
  <mfenced id="mfenced3" open="[" close="]">
    <mn>55</mn>
  </mfenced>
</math></div>

<div id="div4"><math xmlns="http://www.w3.org/1998/Math/MathML" display="block">
  <mo> &int; </mo>
</math></div>

</body>

</html>