зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1289223: Make EventTree process all accessibility show events. r=surkov
MozReview-Commit-ID: 1wRLGHR9Vfc --HG-- extra : transplant_source : VO%FD%80%0C.%15%9D%C4%82%3A%18%E2%C3WU%A1%8Fv%CF
This commit is contained in:
Родитель
2c9b1285df
Коммит
cc740d9cf4
|
@ -1462,12 +1462,13 @@ DocAccessible::DoInitialUpdate()
|
|||
ParentDocument()->FireDelayedEvent(reorderEvent);
|
||||
}
|
||||
|
||||
TreeMutation mt(this);
|
||||
uint32_t childCount = ChildCount();
|
||||
for (uint32_t i = 0; i < childCount; i++) {
|
||||
Accessible* child = GetChildAt(i);
|
||||
RefPtr<AccShowEvent> event = new AccShowEvent(child);
|
||||
FireDelayedEvent(event);
|
||||
mt.AfterInsertion(child);
|
||||
}
|
||||
mt.Done();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Загрузка…
Ссылка в новой задаче