tor-browser

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

mouse-click-open-second-summary.html (636B)


      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    /* Clicking on second summary should not collapse details. */
      9    var summary = document.getElementById("summary");
     10    summary.dispatchEvent(new MouseEvent("click"));
     11    document.documentElement.removeAttribute("class");
     12  }
     13  </script>
     14  <body onload="runTest();">
     15    <details open>
     16      <summary>Summary</summary>
     17      <summary id="summary">Second Summary</summary>
     18      <p>This is the details.</p>
     19    </details>
     20  </body>
     21 </html>