mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1250878 - add acceptable child check for HTML select, r=marcoz
This commit is contained in:
parent
1f1f66ccfc
commit
322fee727a
@ -1248,6 +1248,12 @@ DocAccessible::GetAccessibleOrContainer(nsINode* aNode) const
|
|||||||
if (!(currNode = parent)) break;
|
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;
|
return accessible;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1706,11 +1712,6 @@ DocAccessible::ProcessContentInserted(Accessible* aContainer,
|
|||||||
// there is no HTML body element.
|
// 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
|
// 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
|
// might need an update. Since DOM/layout change of the element may affect
|
||||||
// on the accessibleness of adjacent elements (for example, insertion of
|
// on the accessibleness of adjacent elements (for example, insertion of
|
||||||
|
@ -102,7 +102,7 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// gA11yEventDumpToConsole = true;
|
//gA11yEventDumpToConsole = true;
|
||||||
|
|
||||||
function doTest()
|
function doTest()
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user