| Index: chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
|
| diff --git a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
|
| index 354a58fc962212e71e3381f6fea0096027f73ced..4821a332f4833688fd7da90f6ac979a270a6d260 100644
|
| --- a/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
|
| +++ b/chrome/browser/resources/chromeos/chromevox/cvox2/background/automation_util.js
|
| @@ -34,7 +34,7 @@ AutomationUtil.findNodePre = function(cur, dir, pred) {
|
| if (!cur)
|
| return null;
|
|
|
| - if (pred(cur))
|
| + if (pred(cur) && !AutomationPredicate.shouldIgnoreNode(cur))
|
| return cur;
|
|
|
| var child = dir == Dir.BACKWARD ? cur.lastChild : cur.firstChild;
|
| @@ -69,7 +69,7 @@ AutomationUtil.findNodePost = function(cur, dir, pred) {
|
| child.previousSibling : child.nextSibling;
|
| }
|
|
|
| - if (pred(cur))
|
| + if (pred(cur) && !AutomationPredicate.shouldIgnoreNode(cur))
|
| return cur;
|
|
|
| return null;
|
|
|