summaryrefslogtreecommitdiffstats
path: root/layout/base/crashtests/339651-1.html
blob: c7860c3882a23f3f5bf9399467643c723d3f6c28 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<html style="border: 1px solid red; width: 6em;" class="reftest-wait">

<head>
<script type="text/javascript">

function f1()
{
  document.getElementById("s").style.cssFloat = "left";

  document.body.style.display = "inline";
  document.getElementById("d").style.display = "inline"; 
  document.getElementById("p").style.display = "inline"; 
  
  setTimeout(f2, 30);
}

function f2()
{
  document.getElementById("d").style.cssFloat = "left";
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="f1()">

TTTTT TTTTT
<div id="d">
YY
<p id="p">
ZZ
<span id="s">

</body>

</html>