1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/content/base/crashtests/395469-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<bindings xmlns="http://www.mozilla.org/xbl"><binding id="empty"><content></content></binding></bindings> 1.8 + 1.9 +<style> 1.10 + 1.11 +.bef:before { content: counter(c); } 1.12 + 1.13 +.fl:first-letter { } 1.14 + 1.15 +</style> 1.16 + 1.17 +<script> 1.18 + 1.19 +var xblize, div; 1.20 + 1.21 +function boom() 1.22 +{ 1.23 + xblize = document.getElementById("xblize"); 1.24 + div = document.getElementById("div"); 1.25 + 1.26 + xblize.style.MozBinding = "url('#empty')"; 1.27 + 1.28 + // Give the XBL extra time to settle 1.29 + setTimeout(boom2, 200); 1.30 +} 1.31 + 1.32 +function boom2() 1.33 +{ 1.34 + div.removeChild(xblize); 1.35 + div.appendChild(xblize); 1.36 + 1.37 + document.documentElement.removeAttribute("class"); 1.38 +} 1.39 + 1.40 +</script> 1.41 +</head> 1.42 + 1.43 +<body onload="boom();"> 1.44 + 1.45 +<div class="fl" id="div"><span class="bef" id="xblize"></span><span class="bef"></span></div> 1.46 + 1.47 +</body> 1.48 +</html>