зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1206107 - fire show event for reallocated accessible after it was reallocated, r=tbsaunde
This commit is contained in:
Родитель
7ca77d3083
Коммит
0b7aa7d6ab
|
@ -1374,15 +1374,15 @@ DocAccessible::ProcessInvalidationList()
|
|||
}
|
||||
|
||||
{
|
||||
AutoTreeMutation mut(owner);
|
||||
owner->AppendChild(child);
|
||||
|
||||
nsRefPtr<AccReorderEvent> reorderEvent = new AccReorderEvent(owner);
|
||||
nsRefPtr<AccMutationEvent> showEvent =
|
||||
new AccShowEvent(child, child->GetContent());
|
||||
FireDelayedEvent(showEvent);
|
||||
reorderEvent->AddSubMutationEvent(showEvent);
|
||||
|
||||
AutoTreeMutation mut(owner);
|
||||
owner->AppendChild(child);
|
||||
|
||||
MaybeNotifyOfValueChange(owner);
|
||||
FireDelayedEvent(reorderEvent);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче