1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/base/crashtests/366967-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,33 @@ 1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 1.5 + "http://www.w3.org/TR/html4/loose.dtd"> 1.6 +<html class="reftest-wait"> 1.7 +<head> 1.8 + 1.9 +<style> 1.10 +#cat { float: left; } 1.11 +#zebra { background: lightgreen; } 1.12 +#zebra:after { content: "a b c d e"; } 1.13 +#zebra:first-letter { display: none; } 1.14 +</style> 1.15 + 1.16 +<script> 1.17 +function boom1() 1.18 +{ 1.19 + document.getElementById("cat").style.outline = "1px solid yellow"; 1.20 + setTimeout(boom2, 30); 1.21 +} 1.22 + 1.23 +function boom2() 1.24 +{ 1.25 + document.getElementById("cat").style.overflow = "auto"; 1.26 + document.documentElement.removeAttribute("class") 1.27 +} 1.28 +</script> 1.29 + 1.30 +</head> 1.31 + 1.32 +<body onload="setTimeout(boom1, 30)" style="overflow: scroll"> 1.33 + <div id="zebra"><b id="cat">Cat</b></div> 1.34 + <div style="direction: rtl">This is an RTL div</div> 1.35 +</body> 1.36 +</html>