1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/394150-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,27 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" xmlns:math="http://www.w3.org/1998/Math/MathML"> 1.5 +<head> 1.6 +<script> 1.7 + 1.8 +function boom() 1.9 +{ 1.10 + var ms = document.createElementNS("http://www.w3.org/1998/Math/MathML", "ms"); 1.11 + var textNode = document.getElementById("emptyset").firstChild; 1.12 + var mrow = document.getElementById("mrow"); 1.13 + 1.14 + ms.appendChild(textNode); // *move* the text node from one place to another! 1.15 + mrow.appendChild(ms); 1.16 +} 1.17 + 1.18 +</script> 1.19 +</head> 1.20 + 1.21 +<body onload="boom();"> 1.22 + 1.23 +<math xmlns="http://www.w3.org/1998/Math/MathML"> 1.24 +<merror><emptyset id="emptyset"> 1.25 + <mrow id="mrow"></mrow></emptyset></merror> 1.26 +</math> 1.27 + 1.28 +</body> 1.29 + 1.30 +</html>