1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/mathml/crashtests/348811-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,26 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml"> 1.5 +<head> 1.6 +<script> 1.7 +function foo() 1.8 +{ 1.9 + var newTable = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mtable") 1.10 + 1.11 + document.getElementById("mtr").appendChild(newTable); 1.12 +} 1.13 +</script> 1.14 +</head> 1.15 + 1.16 +<body onload="foo()"> 1.17 + 1.18 + 1.19 +<div> 1.20 + <math xmlns="http://www.w3.org/1998/Math/MathML" display="block"> 1.21 + <mtable> 1.22 <mtr id="mtr"> 1.23 <mtd> 1.24 + <mi>x</mi> 1.25 + </mtd> 1.26 </mtr> 1.27 </mtable> 1.28 </math> 1.29 +</div> 1.30 + 1.31 + 1.32 +</body> 1.33 + 1.34 +</html> 1.35 \ No newline at end of file