summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/337883-2.html
blob: 1334bf46b9884a0a1483fa484aea30bdeda6611b (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)}, false);

</script>
</head>

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