tor-browser

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

348049-1.xhtml (753B)


      1 <html xmlns="http://www.w3.org/1999/xhtml"
      2      class="reftest-wait">
      3  <head>
      4    <script><![CDATA[
      5      customElements.define("custom-td", class extends HTMLDivElement {
      6        constructor() {
      7          super();
      8          this.attachShadow({ mode: "open" });
      9          let td = document.createElement('td');
     10          td.append(document.createElement('slot'));
     11          this.shadowRoot.append(td);
     12        }
     13      }, {
     14        extends: "div",
     15      });
     16      function f1() {
     17        document.getElementById("outer")
     18                .appendChild(document.createTextNode("PASS"));
     19        document.documentElement.className = "";
     20      }
     21    ]]></script>
     22  </head>
     23  <body onload="f1();">
     24    <div is="custom-td" id="outer"></div>
     25  </body>
     26 </html>