5 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
6 <style type=
"text/css" media=
"screen">
8 border:
10px solid black;
13 -webkit-box-shadow:
0 0 20px black;
22 background-color: rgba(
0,
0,
0,
0.2);
26 <script type=
"text/javascript" charset=
"utf-8">
27 if (window.testRunner) {
28 testRunner.dumpAsText();
29 testRunner.waitUntilDone();
34 runAfterLayoutAndPaint(function() {
35 document.getElementById('parent-iframe').contentWindow.scrollTo(
80,
80);
36 if (window.testRunner) {
37 document.getElementById('layers').innerHTML = window.internals.layerTreeAsText(document);
38 testRunner.notifyDone();
43 window.addEventListener('load', doTest, false);
48 <!-- Test scrolling in the iframe -->
49 <iframe id=
"parent-iframe" src=
"resources/large-composited-subframe.html"></iframe>
54 <pre id=
"layers">Layer tree appears here in DRT.
</pre>