зеркало из https://github.com/mozilla/gecko-dev.git
Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc
This commit is contained in:
Родитель
2718545669
Коммит
46b5ded335
|
@ -1323,7 +1323,8 @@ NS_IMETHODIMP nsViewManager::DispatchEvent(nsGUIEvent *aEvent, nsEventStatus *aS
|
|||
PRBool capturedEvent = PR_FALSE;
|
||||
|
||||
if (!NS_IS_KEY_EVENT(aEvent) && !NS_IS_IME_EVENT(aEvent) &&
|
||||
!NS_IS_CONTEXT_MENU_KEY(aEvent) && !NS_IS_FOCUS_EVENT(aEvent)) {
|
||||
!NS_IS_CONTEXT_MENU_KEY(aEvent) && !NS_IS_FOCUS_EVENT(aEvent) &&
|
||||
aEvent->eventStructType != NS_ACCESSIBLE_EVENT) {
|
||||
// will dispatch using coordinates. Pretty bogus but it's consistent
|
||||
// with what presshell does.
|
||||
view = GetDisplayRootFor(baseView);
|
||||
|
|
Загрузка…
Ссылка в новой задаче