summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/layers/visible-layer-with-hidden-parent.html
blob: 4cf17ee22f80860131906c2fe1267aabc5b7a0fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<script>
    if (window.testRunner) {
        testRunner.waitUntilDone();
        testRunner.dumpAsText();
    }
</script>

<div style="visibility:hidden; position:absolute; z-index:1">
    <div style="visibility:hidden; position:absolute; z-index:1">
        <div id="container" style="position:absolute">PASS</div>
    </div>
</div>

<script>
    window.addEventListener('load', function() {
        window.setTimeout(function() {
            document.getElementById("container").style.visibility = "visible";
            if (window.testRunner)
                testRunner.notifyDone();
        }, 0);
    }, false);
</script>