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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/submit/submit-focus-by-mouse-then-keydown.html

Issue 2100243002: Remove non-standardize key code names from event_sender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix inspector tests that were missed by sed Created 4 years, 5 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <body> 2 <body>
3 <script src="../resources/common.js"></script> 3 <script src="../resources/common.js"></script>
4 <script src="../../repaint/resources/text-based-repaint.js"></script> 4 <script src="../../repaint/resources/text-based-repaint.js"></script>
5 <input type="submit"> 5 <input type="submit">
6 <!-- A keydown event after mouse-focus should draw a focus ring. --> 6 <!-- A keydown event after mouse-focus should draw a focus ring. -->
7 <script> 7 <script>
8 window.onload = runRepaintTest; 8 window.onload = runRepaintTest;
9 window.enablePixelTesting = true; 9 window.enablePixelTesting = true;
10 eventSender.mouseMoveTo(800, 600); 10 eventSender.mouseMoveTo(800, 600);
11 clickElement(document.querySelector('input')); 11 clickElement(document.querySelector('input'));
12 function repaintTest() { 12 function repaintTest() {
13 eventSender.keyDown('leftShift'); 13 eventSender.keyDown('ShiftLeft');
14 } 14 }
15 </script> 15 </script>
16 </body> 16 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698