зеркало из https://github.com/mozilla/pjs.git
Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc
This commit is contained in:
Родитель
5c76d0cbbc
Коммит
c4753b81f6
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче