tor-browser

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

mouse-click-twice-fixed-summary.html (664B)


      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    summary.dispatchEvent(new MouseEvent("click"));
     18    document.documentElement.removeAttribute("class");
     19  }
     20  </script>
     21  <body onload="runTest();">
     22    <details>
     23      <summary id="summary">Summary</summary>
     24      <p>This is the details.</p>
     25    </details>
     26  </body>
     27 </html>