Bug 1376754 - Remove hide event target flag from accessible when event is dropped. r=surkov

This commit is contained in:
Eitan Isaacson 2017-08-14 08:02:02 -07:00
parent 527cb9bd76
commit 5dcba0ecf8

View File

@ -271,6 +271,8 @@ NotificationController::DropMutationEvent(AccTreeMutationEvent* aEvent)
} else if (aEvent->GetEventType() == nsIAccessibleEvent::EVENT_SHOW) {
aEvent->GetAccessible()->SetShowEventTarget(false);
} else {
aEvent->GetAccessible()->SetHideEventTarget(false);
AccHideEvent* hideEvent = downcast_accEvent(aEvent);
MOZ_ASSERT(hideEvent);