summaryrefslogtreecommitdiffstats
path: root/layout/generic/crashtests/399843-1.html
blob: 429f9bc9f97a41be27d62d52d80662312fe3366e (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<html class="reftest-wait">
<head>
<style>

    #colset {
      width: 300pt;
      height: 2in;
      column-count: 3;
    }
    
    .container {
      height: 1in;
    }

    .b6 {
      height: 10in;
    }
    
    .c3 {
      position: absolute;
    }

    .c4 {
      height: 3in;
    }

</style>

<script>

function boom()
{
  document.getElementById("x").setAttribute("class", "c4");
  setTimeout(boom2, 10);
}

function boom2()
{
  document.getElementById("x").setAttribute("class", "");
  setTimeout(boom3, 10);
}

function boom3()
{
  document.documentElement.removeAttribute("class");
}

</script>
</head>

<body onload="boom();">

<div id="colset">
  <div id="x"></div>
  <div class="container">
    <div class="b6"></div>
    <div>
      <div class="c3"></div>
    </div>
  </div>
</div>

</body>
</html>