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

Unified Diff: third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cancelable.html

Issue 2777863003: [InputEvent] Distinguish between soft line and hard line (Closed)
Patch Set: Created 3 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cancelable.html
diff --git a/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cancelable.html b/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cancelable.html
index 94dda10d5df6006785b6a63ef003cc931dec901b..ff79c70835c645f26106c8d682e132accba01542 100644
--- a/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cancelable.html
+++ b/third_party/WebKit/LayoutTests/fast/events/inputevents/inputevent-cancelable.html
@@ -47,7 +47,8 @@ async_test(t => {
'insertText', 'insertLineBreak', 'insertParagraph',
'insertCompositionText', 'insertReplacementText',
'deleteWordBackward', 'deleteWordForward',
- 'deleteLineBackward', 'deleteLineForward',
+ 'deleteSoftLineBackward', 'deleteSoftLineForward',
+ 'deleteHardLineBackward', 'deleteHardLineForward',
'deleteContentBackward', 'deleteContentForward',
];
@@ -88,6 +89,10 @@ async_test(t => {
testKeyDown('Delete', [], 'deleteContentForward');
testKeyDown('Backspace', [deleteWordModifier], 'deleteWordBackward');
testKeyDown('Delete', [deleteWordModifier], 'deleteWordForward');
+ testCommand('deleteToBeginningOfLine', 'deleteSoftLineBackward');
+ testCommand('deleteToEndOfLine', 'deleteSoftLineForward');
+ testCommand('deleteToBeginningOfParagraph', 'deleteHardLineBackward');
+ testCommand('deleteToEndOfParagraph', 'deleteHardLineForward');
// Format
editable.innerHTML = 'abc';
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/editing/EditingUtilities.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698