summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/details-remove-summary-1-and-click.html
blob: 3925100a9453873d598260a9b85dd5a1bf00298f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<script>

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

    if (!window.testRunner || !window.eventSender)
        return;
    eventSender.mouseMoveTo(2, 2);
    eventSender.mouseDown();
    eventSender.mouseUp();
};

</script>

<body style="margin: 0px" onload="runTests()">
    <details id="dt1">
        <summary id="summary1">summary</summary>
    </details>
</body>