stress-3.html (669B)
1 <!DOCTYPE html> 2 <html class="reftest-wait" id="fl" style="position: absolute"> 3 <head> 4 5 <style> 6 7 .flcounter:first-line { content: counter(egg); } 8 9 #fl:first-line { } 10 11 </style> 12 13 <script> 14 15 function boom() 16 { 17 document.documentElement.appendChild(document.createTextNode("\n")); 18 document.getElementById("div").style.counterReset = ""; 19 setTimeout(boom2, 20); 20 } 21 22 function boom2() 23 { 24 document.body.removeAttribute("class"); 25 document.body.offsetWidth; 26 document.documentElement.className = ""; 27 } 28 29 </script> 30 </head> 31 32 <body style="position: inherit; float: left;" class="flcounter" onload="boom();"> 33 <div id="div" style="counter-reset: chicken;"></div> 34 </body> 35 </html>