1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/layout/generic/crashtests/337883-2.html Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,21 @@ 1.4 +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> 1.5 +<html class="reftest-wait"> 1.6 +<head> 1.7 +<style id="s"></style> 1.8 +<script> 1.9 + 1.10 +function foop() 1.11 +{ 1.12 + var stylesheet = document.getElementById("s"); 1.13 + stylesheet.textContent = "#xxx { height: 10%; } #yyy { position: relative; }"; 1.14 + 1.15 + document.documentElement.removeAttribute("class"); 1.16 +} 1.17 + 1.18 +window.addEventListener("load", function(){setTimeout(foop, 30)}, false); 1.19 + 1.20 +</script> 1.21 +</head> 1.22 + 1.23 +<body>--<a id="yyy"><IMG align="right"></a><br id="xxx">==</body></html> 1.24 +