summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/details-remove-summary-3.html
blob: d3a829bfd3a466d45e1052c8b0052bc9ee7f69c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<script>

var runTests = function () {
    document.getElementById("dt1").removeChild(document.getElementById("summary2"));
};

</script>

<body onload="runTests()">
    <details id="dt1">
        <summary id="summary1">summary 1</summary>
        <summary id="summary2">summary 2</summary>
    </details>
</body>