1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/397844-2.xhtml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,55 @@ 1.4 +<html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<style type="text/css"> 1.8 +.pad { padding: 3ch; } 1.9 +.fl:first-letter { } 1.10 +td { border: 1px solid green } 1.11 +</style> 1.12 + 1.13 +<style id="s" type="text/css"></style> 1.14 + 1.15 +<script type="text/javascript"> 1.16 + 1.17 +function boom() 1.18 +{ 1.19 + document.getElementById("td").nextSibling.splitText(6); 1.20 + document.getElementById("td").style.padding = "2px"; 1.21 + 1.22 + setTimeout(boom2, 10); 1.23 +} 1.24 + 1.25 +function boom2() 1.26 +{ 1.27 + document.body.style.counterReset = "chicken"; 1.28 + 1.29 + setTimeout(boom3, 10); 1.30 +} 1.31 + 1.32 +function boom3() 1.33 +{ 1.34 + document.getElementById("s").textContent = "#xxx { }"; 1.35 + 1.36 + setTimeout(boom4, 10); 1.37 +} 1.38 + 1.39 +function boom4() 1.40 +{ 1.41 + document.getElementById("td").style.padding = ""; 1.42 + setTimeout(boom5, 10); 1.43 +} 1.44 + 1.45 +function boom5() 1.46 +{ 1.47 + document.documentElement.removeAttribute("class"); 1.48 +} 1.49 + 1.50 +</script> 1.51 +</head> 1.52 + 1.53 +<body style="font-family: monospace; width: 14ch; border: 1px solid orange;" dir="rtl" onload="boom();"> 1.54 + 1.55 +<div class="pad fl"><span><td class="pad fl" id="td"><span>abcd</span></td>ghi jk 2</span></div> 1.56 + 1.57 +</body> 1.58 +</html>