Wed, 31 Dec 2014 06:09:35 +0100
Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.
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" onload="boom();">
7 <script type="text/javascript">
8 // <![CDATA[
10 var XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
12 function boom()
13 {
14 var lb = document.getElementById("lb");
15 var firstli = document.getElementById("firstli");
16 lb.appendChild(document.createElementNS(XUL_NS, "hbox"));
17 lb.appendChild(document.createElementNS(XUL_NS, "listitem"));
18 firstli.style.display = "none";
20 // Flush layout.
21 document.getBoxObjectFor(document.documentElement).height;
23 lb.removeChild(firstli);
24 }
26 // ]]>
27 </script>
29 <listbox id="lb"><listitem id="firstli"/></listbox>
31 </window>