https://github.com/mozilla/gecko-dev
Raw File
Tip revision: d7dd1abc4b9c4ede41090a31e598150a4790873f authored by Emilio Cobos Álvarez on 14 June 2024, 07:59:25 UTC
Bug 1902156 - Account for continuations to remove anonymous wrappers. r=dholbert, a=RyanVM
Tip revision: d7dd1ab
mouse-click-twice-open-single-summary.html
<!DOCTYPE html>
<!-- Any copyright is dedicated to the Public Domain.
   - http://creativecommons.org/publicdomain/zero/1.0/ -->

<html class="reftest-wait">
  <script>
  function runTest() {
    var summary = document.getElementById("summary");
    summary.dispatchEvent(new MouseEvent("click"));
    summary.dispatchEvent(new MouseEvent("click"));
    document.documentElement.removeAttribute("class");
  }
  </script>
  <body onload="runTest();">
    <details open>
      <summary id="summary">Summary</summary>
      <p>This is the details.</p>
    </details>
  </body>
</html>
back to top