2 <!-- Any copyright is dedicated to the Public Domain.
3 - http://creativecommons.org/publicdomain/zero/1.0/ -->
5 <html class=
"reftest-wait">
8 // Remove first <summary> from <details>. Second <summary> should be used.
9 var details
= document
.getElementById("details");
10 var summary
= document
.getElementById("summary");
11 details
.removeChild(summary
);
13 document
.documentElement
.removeAttribute("class");
16 <body onload=
"runTest();">
17 <details open
id=
"details">
18 <summary>Summary
</summary>
19 <summary id=
"summary">Removed Summary
</summary>
20 <p>This is the details.
</p>