Merge mozilla-central to autoland. a=merge CLOSED TREE
[gecko.git] / layout / reftests / details-summary / dynamic-add-paragraph-after-summary-close.html
blob224c6cacca53a43dcb5939c7092b4741f43f8f14
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 // Insert <p> after <summary>.
9 var paragraph = document.createElement("p");
10 var details_text = document.createTextNode("This is the details.");
11 paragraph.appendChild(details_text);
13 var details = document.getElementById("details");
14 details.appendChild(paragraph);
16 document.documentElement.removeAttribute("class");
18 </script>
19 <body onload="runTest();">
20 <details id="details">
21 <summary>Summary</summary>
22 </details>
23 </body>
24 </html>