summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/html/details-children-merge-crash.html
blob: 0b7201792dd69f77c4918ba2a237b017de5b956a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31

<script>

var runTests = function () {

    if (!window.testRunner)
        return;

    testRunner.dumpAsText();
    testRunner.waitUntilDone();

    var d = document.getElementById("d1");

    setTimeout(function () {
        d.open = false;
        setTimeout(function () {
            d.open = true;
            setTimeout(function () {
                d.open = false;
                testRunner.notifyDone();
            }, 1);
        }, 1);
    }, 1);
};

</script>

<body onload="runTests()">
    Test passes if it does not crash.
    <li><details open id="d1">some text</details></li>
</body>