1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/400445-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,22 @@ 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 mtd1 = document.getElementById("mtd1"); 1.11 + var mtd2 = document.getElementById("mtd2"); 1.12 + var newSpan = document.createElementNS("http://www.w3.org/1999/xhtml", "span"); 1.13 + 1.14 + mtd1.appendChild(newSpan); 1.15 + mtd1.removeAttribute("columnspan"); 1.16 + mtd2.setAttribute("columnspan", 0); 1.17 +} 1.18 + 1.19 +</script> 1.20 +</head> 1.21 + 1.22 +<body onload="boom();"> 1.23 +<math:mtd id="mtd1" columnspan="5" /><math:mtd id="mtd2" /> 1.24 +</body> 1.25 +</html>