Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 <?xml version="1.0"?>
3 <?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
5 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
6 onload="boom1();"
7 class="reftest-wait">
9 <script>
11 var tree;
13 function boom1()
14 {
15 tree = document.getElementById("tree");
16 tree.style.position = "fixed";
17 setTimeout(boom2, 30);
18 }
20 function boom2()
21 {
22 tree.style.overflow = "visible";
23 document.documentElement.removeAttribute("class");
24 }
25 </script>
27 <tree rows="6" id="tree" style="display: list-item; overflow: auto; visibility: collapse;">
28 <treecols>
29 <treecol id="firstname" label="First Name" primary="true" flex="3"/>
30 <treecol id="lastname" label="Last Name" flex="7"/>
31 </treecols>
33 <treechildren>
34 <treeitem container="true" open="true">
35 <treerow>
36 <treecell label="Foo"/>
37 </treerow>
38 </treeitem>
39 </treechildren>
40 </tree>
43 </window>