1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/reftests/first-line/stress-3.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait" id="fl" style="position: absolute"> 1.6 +<head> 1.7 + 1.8 +<style> 1.9 + 1.10 +.flcounter:first-line { content: counter(egg); } 1.11 + 1.12 +#fl:first-line { } 1.13 + 1.14 +</style> 1.15 + 1.16 +<script> 1.17 + 1.18 +function boom() 1.19 +{ 1.20 + document.documentElement.appendChild(document.createTextNode("\n")); 1.21 + document.getElementById("div").style.counterReset = ""; 1.22 + setTimeout(boom2, 20); 1.23 +} 1.24 + 1.25 +function boom2() 1.26 +{ 1.27 + document.body.removeAttribute("class"); 1.28 + document.body.offsetWidth; 1.29 + document.documentElement.className = ""; 1.30 +} 1.31 + 1.32 +</script> 1.33 +</head> 1.34 + 1.35 +<body style="position: inherit; float: left;" class="flcounter" onload="boom();"> 1.36 +<div id="div" style="counter-reset: chicken;"></div> 1.37 +</body> 1.38 +</html>