| OLD | NEW |
| (Empty) |
| 1 <html> | |
| 2 <head> | |
| 3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> | |
| 4 <script> | |
| 5 function runTest() | |
| 6 { | |
| 7 // Turn off smooth scrolling to prevent multiple scroll events from | |
| 8 // being triggered. The iframe loaded below expects a single scroll | |
| 9 // event, after which it runs the repaint test. | |
| 10 internals.settings.setScrollAnimatorEnabled(false); | |
| 11 | |
| 12 frames[0].focus(); | |
| 13 if (window.eventSender) { | |
| 14 window.eventSender.keyDown("PageDown"); | |
| 15 } | |
| 16 } | |
| 17 </script> | |
| 18 </head> | |
| 19 <body onload="runTest()"> | |
| 20 If running this test manually put focus inside the iframe and hit 'page down
'. | |
| 21 <iframe style="width:500px; height:500px" src="resources/fixed-move-after-ke
yboard-scroll-iframe.html"></iframe> | |
| 22 </body> | |
| 23 </html> | |
| OLD | NEW |