mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-22 10:22:05 +00:00
bug 428915 - Don't fire menu events for popups that have a parent of nsIAccessibleRole::ROLE_AUTOCOMPLETE r=aaronlev a1.9=beltzner
This commit is contained in:
parent
9353028062
commit
828ce79f09
@ -720,7 +720,8 @@ NS_IMETHODIMP nsXULMenupopupAccessible::GetRole(PRUint32 *aRole)
|
||||
// Some widgets like the search bar have several popups, owned by buttons
|
||||
PRUint32 role = Role(parent);
|
||||
if (role == nsIAccessibleRole::ROLE_COMBOBOX ||
|
||||
role == nsIAccessibleRole::ROLE_PUSHBUTTON) {
|
||||
role == nsIAccessibleRole::ROLE_PUSHBUTTON ||
|
||||
role == nsIAccessibleRole::ROLE_AUTOCOMPLETE) {
|
||||
*aRole = nsIAccessibleRole::ROLE_COMBOBOX_LIST;
|
||||
return NS_OK;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user