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

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

Issue 2487043002: Refine braille output (Closed)
Patch Set: Refine braille output Created 4 years, 1 month 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/background.js
diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
index 72810d1ec6e51430e547dfa0a3142fc1ab118c79..79e5f8fb9dc57c9703e9466a8aa2562868a73f06 100644
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js
@@ -664,7 +664,7 @@ Background.prototype = {
actionNode.doDefault();
if (selectionSpan) {
var start = text.getSpanStart(selectionSpan);
- var targetPosition = position - start + selectionSpan.offset;
+ var targetPosition = position - start;
actionNode.setSelection(targetPosition, targetPosition);
}
},

Powered by Google App Engine
This is Rietveld 408576698