| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| index 4c3e3d42c0f0ba27e40f7fc29a75fa8364a1fe45..d38eb8804076ba53ccde7147ddcf43be6e887b5d 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/desktop_automation_handler.js
|
| @@ -140,8 +140,7 @@ DesktopAutomationHandler.prototype = {
|
| return;
|
|
|
| var prev = ChromeVoxState.instance.currentRange;
|
| - if (AutomationUtil.isDescendantOf(prev.start.node, evt.target) ||
|
| - AutomationUtil.isDescendantOf(evt.target, prev.start.node) ||
|
| + if (prev.contentEquals(cursors.Range.fromNode(evt.target)) ||
|
| evt.target.state.focused) {
|
| // Intentionally skip setting range.
|
| new Output()
|
|
|