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'); |