Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / layout / reftests / details-summary / close-nested-details.html
blob07e8c030f18e635576bff2bc5d31dd884bfa0442
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 // Close the inner details.
9 document.getElementById("inner").open = false;
10 document.documentElement.removeAttribute("class");
12 </script>
13 <body onload="runTest();">
14 <details open>
15 <summary>outer summary</summary>
16 <details open id="inner">
17 <summary>inner summary</summary>
18 <p>inner details</p>
19 <details open>
20 <summary>inner most summary</summary>
21 <p>inner most details</p>
22 </details>
23 </details>
24 <p>outer details</p>
25 </details>
26 </body>
27 </html>