Backout changeset 16516bf9614b, because of wrong bug reference

This commit is contained in:
Alexander Surkov 2016-02-29 10:04:49 -05:00
parent a423fc51d3
commit 81c03ec4e8
2 changed files with 6 additions and 7 deletions

View File

@ -1248,12 +1248,6 @@ DocAccessible::GetAccessibleOrContainer(nsINode* aNode) const
if (!(currNode = parent)) break;
}
// HTML comboboxes have no-content list accessible as an intermediate
// containing all options.
if (accessible && accessible->IsHTMLCombobox()) {
return accessible->FirstChild();
}
return accessible;
}
@ -1712,6 +1706,11 @@ DocAccessible::ProcessContentInserted(Accessible* aContainer,
// there is no HTML body element.
}
// HTML comboboxes have no-content list accessible as an intermidiate
// containing all options.
if (container->IsHTMLCombobox())
container = container->FirstChild();
// We have a DOM/layout change under the container accessible, and its tree
// might need an update. Since DOM/layout change of the element may affect
// on the accessibleness of adjacent elements (for example, insertion of

View File

@ -102,7 +102,7 @@
}
}
//gA11yEventDumpToConsole = true;
// gA11yEventDumpToConsole = true;
function doTest()
{