tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

421203-4.xhtml (921B)


      1 <window xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
      2        xmlns:html="http://www.w3.org/1999/xhtml"
      3        class="reftest-wait">
      4  <script type="text/javascript"><![CDATA[
      5    function run() {
      6      const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
      7      const HTML_NS = "http://www.w3.org/1999/xhtml";
      8      var window = document.getElementsByTagName("window")[0];
      9      var box = document.getElementsByTagName("box")[0];
     10      var span = document.createElementNS(HTML_NS, "html:span");
     11      window.insertBefore(span, box); // causes block wrapping
     12      setTimeout(finish, 0);
     13    }
     14    function finish() {
     15      document.documentElement.removeAttribute("class");
     16    }
     17    function load(event) {
     18      setTimeout(run, 0);
     19    }
     20    window.addEventListener("load", load, false);
     21  ]]></script>
     22    <box flex="1" />
     23    <label value="hello world" />
     24 </window>