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

Unified Diff: LayoutTests/editing/selection/extend-selection-enclosing-block-win.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/extend-selection-enclosing-block-win.html
diff --git a/LayoutTests/editing/selection/extend-selection-enclosing-block-mac.html b/LayoutTests/editing/selection/extend-selection-enclosing-block-win.html
similarity index 88%
copy from LayoutTests/editing/selection/extend-selection-enclosing-block-mac.html
copy to LayoutTests/editing/selection/extend-selection-enclosing-block-win.html
index 25a8c0b6f1b56b6497521c0252b922e086023204..9a48b46d0c632eea003e0b455c811ed2df12df81 100644
--- a/LayoutTests/editing/selection/extend-selection-enclosing-block-mac.html
+++ b/LayoutTests/editing/selection/extend-selection-enclosing-block-win.html
@@ -8,9 +8,6 @@
<body>
<pre id="console"></pre>
<script>
-if (window.internals)
- internals.settings.setEditingBehavior("mac");
-
function runSelectionTestsWithGranularityForEnclosingBlock(testNodes, granularity)
{
for (var i = 0; i < testNodes.length; ++i) {
@@ -18,13 +15,15 @@ function runSelectionTestsWithGranularityForEnclosingBlock(testNodes, granularit
log("Test " + (i + 1) + ", LTR:\n");
log(" Extending right: ");
- extendAndLogSelectionWithinBlock("right", granularity, "mac");
+ extendAndLogSelectionWithinBlock("right", granularity, "win");
log(" Extending left: ");
- extendAndLogSelectionWithinBlock("left", granularity, "mac");
+ extendAndLogSelectionWithinBlock("left", granularity, "win");
}
}
+if (window.internals)
+ internals.settings.setEditingBehavior("win");
log("\n\n\nExtending by character\n");
runSelectionTestsWithGranularityForEnclosingBlock(createEnclosingBlockNodes(), "character");

Powered by Google App Engine
This is Rietveld 408576698