1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/366128-1.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,32 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" 1.5 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.6 + class="reftest-wait"> 1.7 + 1.8 +<head> 1.9 +<script> 1.10 + 1.11 +function boom() 1.12 +{ 1.13 + var doomedOption = document.getElementById("doomedOption"); 1.14 + var floated = document.getElementById("floated"); 1.15 + 1.16 + doomedOption.parentNode.removeChild(doomedOption); 1.17 + floated.removeAttributeNS(null, "style"); 1.18 + 1.19 + document.documentElement.removeAttribute("class"); 1.20 +} 1.21 + 1.22 +</script> 1.23 +</head> 1.24 + 1.25 +<body onload="setTimeout(boom, 30);"> 1.26 + 1.27 + <select> 1.28 + <xul:label> 1.29 + <option id="doomedOption">M</option> 1.30 + <span id="floated" style="float: right;"/> 1.31 + </xul:label> 1.32 + </select> 1.33 + 1.34 +</body> 1.35 +</html>