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

Unified Diff: third_party/WebKit/LayoutTests/editing/deleting/delete_by_word.html

Issue 2341563003: Makes assert_selection() to set focus to sample IFRAME (Closed)
Patch Set: 2016-09-14T14:56:27 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/assert_selection.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/editing/deleting/delete_by_word.html
diff --git a/third_party/WebKit/LayoutTests/editing/deleting/delete_by_word.html b/third_party/WebKit/LayoutTests/editing/deleting/delete_by_word.html
index f58963051c559aa19bf6e771d36d7134cf0ec94b..82099e926db3855f192995e7bcffb05310238d52 100644
--- a/third_party/WebKit/LayoutTests/editing/deleting/delete_by_word.html
+++ b/third_party/WebKit/LayoutTests/editing/deleting/delete_by_word.html
@@ -19,10 +19,9 @@
eventSender.keyDown('Backspace', kDeleteWordModifiers);
selection.document.execCommand('insertText', false, ' cha');
},
- // BR is a placeholder.
[
'<div contenteditable>',
- 'one two \u{00A0}abc cha|cha cha three four cha cha cha',
+ 'one two \u{00A0} cha|cha cha three four cha cha cha',
'</div>',
].join(''));
}, 'Delete word');
@@ -39,10 +38,11 @@
eventSender.keyDown('Backspace', kDeleteWordModifiers);
selection.document.execCommand('undo');
},
- // BR is a placeholder.
[
'<div contenteditable>',
- 'one two |three four',
+ isMac
+ ? 'one |two ^three four'
+ : 'one two |three four',
'</div>',
].join(''));
}, 'Delete word then undo');
« no previous file with comments | « third_party/WebKit/LayoutTests/editing/assert_selection.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698