summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/rtl/rtl-iframe-fixed.html
blob: 02e53661fdc15c5792bacbce457eabd8d112e7b4 (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
32
33
34
35
36
37
<html>
<head>
<style>
    body {
        overflow: hidden;
    }

    iframe {
        position: absolute;
        top: 0px;
        left: 0px;
        width: 400px;
        height: 400px;
        border: none;
    }

    #layertree {
        position: absolute;
        top: 10000px;
        left: 0px;
    }
</style>
<script>
    function doTest() {
        if (window.testRunner) {
            document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
            testRunner.dumpAsTextWithPixelResults();
        }
    }
    window.addEventListener('load', doTest, false);
</script>
<body>
    <iframe src="rtl-fixed.html"></iframe>

    <pre id="layertree"></pre>
</body>
</html>