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

Unified Diff: LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html

Issue 14930006: Ctrl+Shift+Right in Windows should select the spacing after the word (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added expectations for chromium-mac for delete-cell-contents-win.html Created 7 years, 7 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
Index: LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html
diff --git a/LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html b/LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html
index a382273405e764cab1598a5d42efaaf3cb180e7a..97d13eabdee6b8a8ef1d85ba405e1bc23fb9b797 100644
--- a/LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html
+++ b/LayoutTests/editing/selection/selection-extend-should-not-move-across-caret-on-mac.html
@@ -48,7 +48,7 @@ function editingTest(behavior) {
var wordCaretFunction = getSetCaretFunction(node, children[2], children[2].data.search("ne 2"));
document.write(behavior + ":<br>");
- runTest("backward", "forward", "word", behavior == "mac" ? "" : "ne", getSetCaretFunction(node, children[2], children[2].data.search("ne 2")));
+ runTest("backward", "forward", "word", behavior == "mac" ? "" : behavior == "win" ? "ne " : "ne", getSetCaretFunction(node, children[2], children[2].data.search("ne 2")));
runTest("forward", "backward", "word", behavior == "mac" ? "" : "li", getSetCaretFunction(node, children[2], children[2].data.search("ne 2")));
runTest("backward", "forward", "line", behavior == "mac" ? "" : "1\nline ", getSetCaretFunction(node, children[0], children[0].data.search("1")));
runTest("forward", "backward", "line", behavior == "mac" ? "" : "2\nline ", getSetCaretFunction(node, children[4], children[4].data.search("3")));

Powered by Google App Engine
This is Rietveld 408576698