Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / iframes / nested-iframe-scrolling.html
blob568e727b9c93dc6e58cf478ec0155dc9c333907f
1 <html>
2 <head>
3 <style type="text/css">
4 body {
5 margin: 0;
7 iframe {
8 width: 320px;
9 height: 200px;
10 transform: translateZ(0);
11 border: none;
14 #indicator {
15 position: absolute;
16 top: 0px;
17 left: 0px;
18 height: 100px;
19 width: 100px;
20 background-color: red;
22 </style>
23 <script type="text/javascript" charset="utf-8">
25 if (window.testRunner)
26 testRunner.waitUntilDone();
28 function runTest()
30 var frameDocument = document.getElementById('frame').contentWindow.document;
31 var subframeWindow = frameDocument.getElementById('subframe').contentWindow;
32 subframeWindow.scrollTo(0, 100);
34 if (window.testRunner)
35 testRunner.notifyDone();
38 window.addEventListener('load', function() {
39 setTimeout(runTest, 10);
40 }, false);
42 </script>
43 </head>
44 <body>
46 <!-- In pixel results, you should see a single green square with no red. -->
47 <div id="indicator"></div>
48 <iframe id="frame" src="resources/nested-subframe.html"></iframe>
50 </body>
51 </html>