2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
5 <html class=
"reftest-wait">
8 // Insert <p> before <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
.insertBefore(paragraph
, details
.children
[0]);
16 document
.documentElement
.removeAttribute("class");
19 <body onload=
"runTest();">
20 <details open
id=
"details">
21 <summary>Summary
</summary>