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

Unified Diff: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js

Issue 2099833002: For a range surrounding a node, set selection index to 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add simple test. Created 4 years, 6 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: chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js
index af31d1710163a1a298ccdb96be15fd8a6ef05481..5b33f7dc343f7ac26648ee95f58ade92df3d1f2c 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/cursors.js
@@ -137,7 +137,7 @@ cursors.Cursor.prototype = {
*/
get selectionIndex_() {
if (this.index_ == cursors.NODE_INDEX)
- return cursors.NODE_INDEX;
+ return 0;
var adjustedIndex = this.index_;

Powered by Google App Engine
This is Rietveld 408576698