Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git] / layout / reftests / details-summary / mouse-click-fixed-summary.html
blobbfaddf0d86695eba6fa257b6562d4cfc09eb4aba
1 <!DOCTYPE html>
2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
5 <html class="reftest-wait">
6 <style>
7 summary {
8 position: fixed;
9 bottom: 0;
10 right: 0;
12 </style>
13 <script>
14 function runTest() {
15 var summary = document.getElementById("summary");
16 summary.dispatchEvent(new MouseEvent("click"));
17 document.documentElement.removeAttribute("class");
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>