Bug 348621. Contents of <iframe> not firing valid accessibility events. r+sr=roc

This commit is contained in:
aaronleventhal@moonset.net 2007-04-18 06:44:28 -07:00
Родитель 5c76d0cbbc
Коммит c4753b81f6
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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);