layout/xul/tree/crashtests/601427.html

branch
TOR_BUG_9701
changeset 11
deefc01c0e14
equal deleted inserted replaced
-1:000000000000 0:cd7a0d2c7c9b
1 <!DOCTYPE html>
2 <html class="reftest-wait">
3 <script>
4
5 var onPaintFunctions =
6 [
7 function() { document.documentElement.style.MozAppearance = "treeheadersortarrow"; },
8 function() { document.documentElement.style.position = "fixed"; },
9 function() { document.documentElement.removeAttribute("class"); }
10 ];
11
12 var i = 0;
13
14 function advance()
15 {
16 var f = onPaintFunctions[i++];
17 if (f)
18 f();
19 }
20
21 function start()
22 {
23 window.addEventListener("MozAfterPaint", advance, true);
24 advance();
25 }
26
27 window.addEventListener("load", start, false);
28
29 </script>
30 </html>

mercurial