summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/mathml/crashtests/mozilla/348492-1.xhtml
blob: f59c9353a426263ee88295e1ce69fa6f3171d23c (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
<html xmlns="http://www.w3.org/1999/xhtml" class="test-wait">
<head>

<script>
var MATHML_NS = "http://www.w3.org/1998/Math/MathML";

function foo()
{
  var mmultiscripts = document.createElementNS(MATHML_NS, 'mmultiscripts');
  var mtd = document.createElementNS(MATHML_NS, 'mtd');


  document.body.appendChild(mmultiscripts);
  aC(mmultiscripts, mtd);
  aC(mmultiscripts, document.createTextNode('foo'));

  document.documentElement.removeAttribute("class");
}

function aC(q1, q2) { q1.appendChild(q2); }

</script>
</head>

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



</body>

</html>