1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/367243-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +<html class="reftest-wait"> 1.5 +<head> 1.6 + 1.7 +<style id="style"> 1.8 +.ch1 { counter-increment: chicken; } 1.9 +</style> 1.10 + 1.11 +<script> 1.12 +function boom() 1.13 +{ 1.14 + document.getElementsByTagName("ol")[0].setAttribute("class", "wtf"); 1.15 + document.getElementById("style").textContent = ".ch2 { counter-increment: chicken; }"; 1.16 + 1.17 + document.documentElement.removeAttribute("class"); 1.18 +} 1.19 +</script> 1.20 +</head> 1.21 + 1.22 +<body onload="setTimeout(boom, 30);"> 1.23 + 1.24 + 1.25 +<ol> 1.26 + <li class="ch1">item</li> 1.27 + <li>item 1.28 + <ol> 1.29 + <li class="ch2">item</li> 1.30 + </ol> 1.31 + </li> 1.32 +</ol> 1.33 + 1.34 +<ol class="ch2"> 1.35 + <li>item</li> 1.36 +</ol> 1.37 + 1.38 + 1.39 +</body> 1.40 +</html>