layout/xul/tree/crashtests/391178-1.xhtml

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 <html xmlns="http://www.w3.org/1999/xhtml" class="reftest-wait">
     2 <head>
     3 <script>
     5 var ccc;
     7 function boom()
     8 {
     9   var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
    11   var hbox = document.createElementNS(XUL_NS, 'hbox');
    12   var tree = document.createElementNS(XUL_NS, 'tree');
    13   var treecol = document.createElementNS(XUL_NS, 'treecol');
    15   ccc = document.getElementById("ccc");
    17   ccc.style.position = "fixed";
    19   hbox.appendChild(treecol);
    20   tree.appendChild(hbox);
    21   ccc.appendChild(tree);
    23   setTimeout(boom2, 200);
    24 }
    26 function boom2()
    27 {
    28   ccc.style.position = "";
    29   document.documentElement.removeAttribute("class");
    30 }
    32 </script>
    33 </head>
    35 <body onload="boom();">
    37 <div id="ccc">
    38 </div>
    40 </body>
    41 </html>

mercurial