| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| index e4bd58312b4268dcd0d7a081a0e1350efb10e6d0..4ad8639f2e446365a2d2e01561141fc0ecd5ef4f 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/editing.js
|
| @@ -79,8 +79,7 @@ TextFieldTextEditHandler.prototype = {
|
| evt.type !== EventType.VALUE_CHANGED &&
|
| evt.type !== EventType.FOCUS)
|
| return;
|
| - if (!evt.target.state.focused ||
|
| - !evt.target.state.editable ||
|
| + if (!evt.target.state.editable ||
|
| evt.target != this.node_)
|
| return;
|
|
|
| @@ -208,7 +207,7 @@ editing.TextEditHandler.createForNode = function(node) {
|
| var testNode = node;
|
|
|
| do {
|
| - if (testNode.state[StateType.FOCUSED] && testNode.state[StateType.EDITABLE])
|
| + if (testNode.state[StateType.EDITABLE])
|
| rootFocusedEditable = testNode;
|
| testNode = testNode.parent;
|
| } while (testNode);
|
|
|