Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Side by Side Diff: third_party/WebKit/LayoutTests/paint/invalidation/fixed-move-after-keyboard-scroll.html

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <html> 1 <html>
2 <head> 2 <head>
3 <meta http-equiv="content-type" content="text/html; charset=UTF-8"> 3 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4 <script> 4 <script>
5 function runTest() 5 function runTest()
6 { 6 {
7 // Turn off smooth scrolling to prevent multiple scroll events from 7 // Turn off smooth scrolling to prevent multiple scroll events from
8 // being triggered. The iframe loaded below expects a single scroll 8 // being triggered. The iframe loaded below expects a single scroll
9 // event, after which it runs the repaint test. 9 // event, after which it runs the repaint test.
10 internals.settings.setScrollAnimatorEnabled(false); 10 internals.settings.setScrollAnimatorEnabled(false);
11 11
12 frames[0].focus(); 12 frames[0].focus();
13 if (window.eventSender) { 13 if (window.eventSender) {
14 window.eventSender.keyDown("PageDown"); 14 window.eventSender.keyDown("PageDown");
15 } 15 }
16 } 16 }
17 </script> 17 </script>
18 </head> 18 </head>
19 <body onload="runTest()"> 19 <body onload="runTest()">
20 If running this test manually put focus inside the iframe and hit 'page down '. 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> 21 <iframe style="width:500px; height:500px" src="resources/fixed-move-after-ke yboard-scroll-iframe.html"></iframe>
22 </body> 22 </body>
23 </html> 23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698