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 f38f7071b783b22e7fb106e627359b517d0ec1ec..c0a162884c9aca75fffc7a26fd79057e1729e4d6 100644 |
--- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
+++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
@@ -149,6 +149,9 @@ Background.prototype = { |
return; |
this.currentRange_ = value; |
+ |
+ if (this.currentRange_) |
+ this.currentRange_.start.node.makeVisible(); |
}, |
/** |
@@ -326,8 +329,8 @@ Background.prototype = { |
.onSpeechEnd(function() { continueReading(prevRange); }) |
.go(); |
prevRange = this.currentRange_; |
- this.currentRange_ = |
- this.currentRange_.move(cursors.Unit.NODE, Dir.FORWARD); |
+ this.currentRange = |
+ this.currentRange.move(cursors.Unit.NODE, Dir.FORWARD); |
if (!this.currentRange_ || this.currentRange_.equals(prevRange)) |
global.isReadingContinuously = false; |
@@ -403,7 +406,7 @@ Background.prototype = { |
actionNode.focus(); |
var prevRange = this.currentRange_; |
- this.currentRange_ = current; |
+ this.currentRange = current; |
new Output().withSpeechAndBraille( |
this.currentRange_, prevRange, Output.EventType.NAVIGATE) |