| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <script type="text/javascript"> | |
| 4 if (window.testRunner && window.internals) { | |
| 5 testRunner.waitUntilDone(); | |
| 6 internals.settings.setFrameFlatteningEnabled(true); | |
| 7 } | |
| 8 | |
| 9 function test() | |
| 10 { | |
| 11 setTimeout(function() { | |
| 12 scrollTo(1200, 0); | |
| 13 if (window.testRunner) | |
| 14 testRunner.notifyDone(); | |
| 15 }, 0); | |
| 16 } | |
| 17 </script> | |
| 18 </head> | |
| 19 <body onload="test()"> | |
| 20 <div> | |
| 21 <p>Test that an off-screen iframe with positive coordinates is flattened
, and so are its child frames. | |
| 22 </div> | |
| 23 | |
| 24 <p><iframe width="200" height="200" style='border: 0px; position: absolute;
left: 1200px; top: 0px;' src="data:text/html, | |
| 25 <style>body { background-color: blue; }</style> | |
| 26 <body> | |
| 27 <iframe src='data:text/html, <style>div {width:800px;background-colo
r:silver;}</style><div>This is a nested frame that is flattened and scrolled int
o view.</div>'></iframe> | |
| 28 </body> | |
| 29 "></iframe> | |
| 30 </body> | |
| 31 </html> | |
| OLD | NEW |