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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/deleting/5729680.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 <p>This tests deleting a selection that ends just before a space. There was a bu g where it would be treated like a smart delete (the space would be incorrectly removed). To run it outside of DRT, you must delete manually. Press delete and you should see "Th is a test".</p> 1 <p>This tests deleting a selection that ends just before a space. There was a bu g where it would be treated like a smart delete (the space would be incorrectly removed). To run it outside of DRT, you must delete manually. Press delete and you should see "Th is a test".</p>
2 <div id="div" contenteditable="true">This is a test.</div> 2 <div id="div" contenteditable="true">This is a test.</div>
3 3
4 <script> 4 <script>
5 if (window.testRunner) 5 if (window.testRunner)
6 window.testRunner.dumpAsText(); 6 window.testRunner.dumpAsText();
7 7
8 text = document.getElementById("div").firstChild; 8 text = document.getElementById("div").firstChild;
9 window.getSelection().setBaseAndExtent(text, 2, text, 4); 9 window.getSelection().setBaseAndExtent(text, 2, text, 4);
10 if (window.eventSender) 10 if (window.eventSender)
11 eventSender.keyDown("delete"); 11 eventSender.keyDown("Delete");
12 </script> 12 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698