1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/html/document/crashtests/399694-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,20 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 +<script> 1.7 +function boom() 1.8 +{ 1.9 + var legend = document.createElementNS("http://www.w3.org/1999/xhtml", "legend") 1.10 + var input = document.getElementById("input"); 1.11 + input.appendChild(legend); 1.12 + legend.focus(); 1.13 + 1.14 + document.documentElement.removeAttribute("class"); 1.15 +} 1.16 +</script> 1.17 +</head> 1.18 +<body onload="setTimeout(boom, 3);" contenteditable="true"> 1.19 + 1.20 +<input contenteditable="false"><input id="input"><q><div></div></q> 1.21 + 1.22 +</body> 1.23 +</html>