tor-browser

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

mouse-click-fixed-summary.html (612B)


      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  <style>
      7  summary {
      8    position: fixed;
      9    bottom: 0;
     10    right: 0;
     11  }
     12  </style>
     13  <script>
     14  function runTest() {
     15    var summary = document.getElementById("summary");
     16    summary.dispatchEvent(new MouseEvent("click"));
     17    document.documentElement.removeAttribute("class");
     18  }
     19  </script>
     20  <body onload="runTest();">
     21    <details>
     22      <summary id="summary">Summary</summary>
     23      <p>This is the details.</p>
     24    </details>
     25  </body>
     26 </html>