2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
5 <html class=
"reftest-wait">
8 // Insert a <summary> as the last child of the <details>.
9 var summary
= document
.createElement("summary");
10 var text
= document
.createTextNode("Summary");
11 summary
.appendChild(text
);
13 var details
= document
.getElementById("details");
14 details
.appendChild(summary
);
16 document
.documentElement
.removeAttribute("class");
19 <body onload=
"runTest();">
20 <details open
id=
"details">
21 <p>This is the details.
</p>