tor-browser

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

dynamic-remove-single-summary.html (620B)


      1 <!DOCTYPE html>
      2 <!-- Any copyright is dedicated to the Public Domain.
      3   - http://creativecommons.org/publicdomain/zero/1.0/ -->
      4 
      5 <html class="reftest-wait">
      6  <script>
      7  function runTest() {
      8    // Remove <summary> from <details>.
      9    var details = document.getElementById("details");
     10    var summary = document.getElementById("summary");
     11    details.removeChild(summary);
     12 
     13    document.documentElement.removeAttribute("class");
     14  }
     15  </script>
     16  <body onload="runTest();">
     17    <details open id="details">
     18      <summary id="summary">Summary</summary>
     19      <p>This is the details.</p>
     20    </details>
     21  </body>
     22 </html>