Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / dom / nodesFromRect / resources / child-frame-scrolled.html
blob3a03a90189182abda2f2ae9d7714816673c18052
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style type="text/css">
5 body { margin: 0px; }
6 #content {
7 width: 200px;
8 height: 1000px;
10 </style>
11 </head>
12 <body>
13 <div id="content"></div>
14 </body>
16 <script>
17 document.scrollingElement.scrollTop = "400";
18 top.debug("iframe's scroll top is " + document.scrollingElement.scrollTop);
19 top.postMessage("subframe-loaded", "*");
20 </script>
21 </html>