Bug 1944627 - update sidebar button checked state for non-revamped sidebar cases...
[gecko.git] / layout / reftests / details-summary / move-position-absolute-summary-to-different-details.html
blobccd1e83f45a08c027b3bed930b7abba13c8f4b77
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 <script>
7 function runTest() {
8 var details1 = document.getElementById("details1");
9 var summary2 = document.getElementById("summary2");
11 details1.insertBefore(summary2, details1.children[0]);
13 document.documentElement.removeAttribute("class");
15 </script>
16 <body onload="runTest();">
17 <details id="details1">
18 <summary>Summary 1</summary>
19 <p>This is the details 1.</p>
20 </details>
21 <details>
22 <summary id="summary2" style="position: absolute;">Summary 2</summary>
23 <p>This is the details 2.</p>
24 </details>
25 </body>
26 </html>