1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/372376-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,39 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 +<script> 1.7 +<![CDATA[ 1.8 + 1.9 +var HTML_NS = "http://www.w3.org/1999/xhtml"; 1.10 + 1.11 +function boom() 1.12 +{ 1.13 + var $table = document.getElementById('table'); 1.14 + var $oldtd = document.getElementById('oldtd'); 1.15 + 1.16 + $table.style.outline = "1px solid green"; 1.17 + 1.18 + var $tr = document.createElementNS(HTML_NS, 'tr'); 1.19 + $tr.style.display = "inherit"; 1.20 + $table.insertBefore($tr, $oldtd); 1.21 + 1.22 + var $td = document.createElementNS(HTML_NS, 'td'); 1.23 + $tr.appendChild($td); 1.24 + 1.25 + var $anothertr = document.createElementNS(HTML_NS, 'tr'); 1.26 + $table.insertBefore($anothertr, $tr); 1.27 + 1.28 + document.documentElement.removeAttribute("class"); 1.29 +} 1.30 + 1.31 +]]> 1.32 +</script> 1.33 +</head> 1.34 + 1.35 +<body onload="setTimeout(boom, 30)"> 1.36 + 1.37 +<table border="1" id="table"> 1.38 +<td id="oldtd"></td> 1.39 +</table> 1.40 + 1.41 +</body> 1.42 +</html>