https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 79902b22437236e6c717e39e4913ff105f9d8810 authored by Agi Sferro on 06 July 2020, 16:04:21 UTC
Bug 1647078 - Fix unit tests and checkstyle. r=snorp,esawin a=RyanVM
Tip revision: 79902b2
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