OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style> | 3 <style> |
4 body { | 4 body { |
5 overflow: hidden; | 5 overflow: hidden; |
6 background-color: green; | 6 background-color: green; |
7 } | 7 } |
8 iframe { | 8 iframe { |
9 position: absolute; | 9 position: absolute; |
10 width: 400px; | 10 width: 400px; |
11 height: 400px; | 11 height: 400px; |
12 left: 0px; | 12 left: 0px; |
13 top: 200px; | 13 top: 200px; |
14 border: 0px; | 14 border: 0px; |
15 } | 15 } |
16 </style> | 16 </style> |
17 <script> | 17 <script> |
18 function runTest() { | 18 function runTest() { |
19 var iframe = document.getElementsByTagName("iframe")[0]; | 19 var iframe = document.getElementsByTagName("iframe")[0]; |
20 iframe.contentWindow.scrollTo(0, 250); | 20 iframe.contentWindow.scrollTo(0, 250); |
21 } | 21 } |
22 if (window.testRunner) | 22 if (window.testRunner) |
23 testRunner.dumpAsText(true); | 23 testRunner.dumpAsTextWithPixelResults(); |
24 window.addEventListener("load", runTest, false); | 24 window.addEventListener("load", runTest, false); |
25 </script> | 25 </script> |
26 </head> | 26 </head> |
27 <body> | 27 <body> |
28 <iframe src="resources/has-composited-iframe-child.html"></iframe> | 28 <iframe src="resources/has-composited-iframe-child.html"></iframe> |
29 </body> | 29 </body> |
30 </html> | 30 </html> |
OLD | NEW |