зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1635634 - do not check root document containment when calculating relations. r=mtigley
Differential Revision: https://phabricator.services.mozilla.com/D73988
This commit is contained in:
Родитель
7667ce064e
Коммит
8812c997a4
|
@ -396,11 +396,6 @@ const AccessibleActor = ActorClassWithSpec(accessibleSpec, {
|
|||
const targets = [...relation.getTargets().enumerate(Ci.nsIAccessible)];
|
||||
let relationObject;
|
||||
for (const target of targets) {
|
||||
// Target of the relation is not part of the current root document.
|
||||
if (target.rootDocument !== doc.rawAccessible) {
|
||||
continue;
|
||||
}
|
||||
|
||||
let targetAcc;
|
||||
try {
|
||||
targetAcc = this.walker.attachAccessible(target, doc.rawAccessible);
|
||||
|
|
Загрузка…
Ссылка в новой задаче