summaryrefslogtreecommitdiff
path: root/layout/mathml/crashtests/397518-1.xhtml
blob: bc460ead11ca2779dd401c730f5f6493e7edf2e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML">
<head>
<script>
function boom()
{
  var span = document.getElementById("s");
  var newSpan = document.createElementNS("http://www.w3.org/1999/xhtml", "span");
  span.appendChild(newSpan);
}
</script>
</head>
<body onload="boom();">
<math:math><span id="s"><div/></span></math:math>
</body>
</html>