1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/325967-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,29 @@ 1.4 +<html class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<script> 1.8 + 1.9 +function init() 1.10 +{ 1.11 + var ww = document.getElementById("ww"); 1.12 + var inp = document.getElementById("inp"); 1.13 + 1.14 + document.addEventListener("DOMNodeInserted", u, false); 1.15 + 1.16 + document.body.appendChild(ww); 1.17 + 1.18 + function u() 1.19 + { 1.20 + document.removeEventListener("DOMNodeInserted", u, false); 1.21 + ww.removeChild(inp); 1.22 + document.documentElement.removeAttribute("class"); 1.23 + } 1.24 +} 1.25 + 1.26 +</script> 1.27 + 1.28 +</head> 1.29 + 1.30 +<body onload="init()"><div id="ww"><input type="text" value="inputtext" id="inp">moretext</div></body> 1.31 + 1.32 +</html>