Chromium Code Reviews| 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 6f30e143b6fdb635f46da820675d7670785e62e9..4159fb6904e97b624752ac70e2e4edb608b14fd3 100644 |
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/background.js |
| @@ -770,14 +770,11 @@ Background.prototype = { |
| }; |
| if (isFocusable(start)) { |
| start.focus(); |
| - return; |
| - } |
| - if (isFocusable(end)) { |
| + } else if (isFocusable(end)) { |
| end.focus(); |
| - return; |
| + } else { |
| + start.setSequentialFocusNavigationStartingPoint(); |
|
David Tseng
2016/10/26 17:03:26
Does this work on in line text boxes?
|
| } |
| - |
| - // TODO(dmazzoni): Set sequential focus. |
| } |
| }; |