зеркало из https://github.com/mozilla/gecko-dev.git
I mistyped one of surkov's review comments for bug 436453. (And the code does finally make sense to me.) This apparently fixes some mochitests that, for some reason, aren't run on tinderbox.
This commit is contained in:
Родитель
77e2137a9c
Коммит
862226d219
|
@ -794,7 +794,7 @@ nsAccUtils::FindNeighbourPointingToNode(nsIContent *aForNode,
|
|||
{
|
||||
nsAutoString controlID;
|
||||
if (!nsAccUtils::GetID(aForNode, controlID)) {
|
||||
if (aForNode->IsInAnonymousSubtree())
|
||||
if (!aForNode->IsInAnonymousSubtree())
|
||||
return nsnull;
|
||||
|
||||
aForNode->GetAttr(kNameSpaceID_None, nsAccessibilityAtoms::anonid, controlID);
|
||||
|
|
Загрузка…
Ссылка в новой задаче