summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/compositing/iframes/resizer.html
blob: ebf7b4d5f7ab9b2c335c03da36edb10a19b383f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!DOCTYPE html>
<style>
.container {
     -webkit-transform: translateZ(0);
     resize: both;
}
</style>
<script>
function test() {
    if (window.testRunner) {
        testRunner.dumpAsText();
        document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
    }
}
</script>
<!-- There should be a layer for the iframe's scroll corner alongside the iframe's content's layer tree -->
<body onload="test()">
<iframe class="container" src="resources/composited-subframe.html"></iframe>
<pre id="layers">Layer tree appears here in DRT.</pre>