summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/337883-2.html
blob: bc9d5329080892589141f70d5a2219c4dd30190d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html class="reftest-wait">
<head>
<style id="s"></style>
<script>

function foop()
{
  var stylesheet = document.getElementById("s");
  stylesheet.textContent = "#xxx { height: 10%; } #yyy { position: relative; }";
  
  document.documentElement.removeAttribute("class");
}

window.addEventListener("load", function(){setTimeout(foop, 30)});

</script>
</head>

<body>--<a id="yyy"><IMG align="right"></a><br id="xxx">==</body></html>