4 <script src=
"/tests/SimpleTest/SimpleTest.js"></script>
5 <script src=
"/tests/SimpleTest/EventUtils.js"></script>
7 SimpleTest
.waitForExplicitFinish();
9 const summary
= document
.querySelector("summary");
13 const details
= document
.querySelector("details");
14 ok(details
.open
, "Dispatch space key on summary should open details.");
20 <body onload=
"runTest();">
22 <summary>Summary
</summary>
23 <p>This is the details.
</p>