summaryrefslogtreecommitdiffstats
path: root/layout/xul/tree/crashtests/601427.html
blob: cd9574eef6032977cbca009fb00f128c138adc59 (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
<!DOCTYPE html>
<html class="reftest-wait">
<script>

var onPaintFunctions =
[
  function() { document.documentElement.style.MozAppearance = "treeheadersortarrow"; },
  function() { document.documentElement.style.position = "fixed"; },
  function() { document.documentElement.removeAttribute("class"); }
];

var i = 0;

function advance()
{
  var f = onPaintFunctions[i++];
  if (f)
    f();
}

function start()
{
  window.addEventListener("MozAfterPaint", advance, true);
  advance();
}

window.addEventListener("load", start, false);

</script>
</html>