1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/380012-1.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,42 @@ 1.4 +<!DOCTYPE html> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 + 1.8 +<style> 1.9 + .fl:first-line { } 1.10 + .inh { position: inherit; } 1.11 + .abs { position: absolute; } 1.12 +</style> 1.13 + 1.14 +<script> 1.15 + 1.16 +var x, y; 1.17 + 1.18 +function boom() 1.19 +{ 1.20 + x = document.getElementById("x"); 1.21 + y = document.getElementById("y"); 1.22 + 1.23 + x.setAttribute('class', "fl abs"); 1.24 + y.setAttribute('class', "inh"); 1.25 + setTimeout(boom2, 5); 1.26 +} 1.27 + 1.28 +function boom2() 1.29 +{ 1.30 + y.setAttribute('class', "abs"); 1.31 + 1.32 + document.documentElement.removeAttribute("class"); 1.33 +} 1.34 + 1.35 +</script> 1.36 + 1.37 +</head> 1.38 + 1.39 +<body onload="setTimeout(boom, 5);"> 1.40 +<div id="x"> 1.41 + <p id="y">foo</p> 1.42 +</div> 1.43 +</body> 1.44 + 1.45 +</html>