no bug - Import translations from android-l10n r=release a=l10n CLOSED TREE
[gecko.git] / layout / reftests / details-summary / dynamic-remove-second-summary.html
blob5cd97d398f34823a6360fb747635a1f7e645ac20
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 // 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");
15 </script>
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>
21 </details>
22 </body>
23 </html>