зеркало из https://github.com/mozilla/gecko-dev.git
Bug 959257 - Google's search box may not emit caret move events. r=tbsaunde
This commit is contained in:
Родитель
cb8e3ed66e
Коммит
9bc06ab84e
|
@ -1917,8 +1917,10 @@ DocAccessible::UpdateTreeInternal(Accessible* aChild, bool aIsInsert,
|
|||
|
||||
// XXX: do we really want to send focus to focused DOM node not taking into
|
||||
// account active item?
|
||||
if (focusedAcc)
|
||||
if (focusedAcc) {
|
||||
FocusMgr()->DispatchFocusEvent(this, focusedAcc);
|
||||
SelectionMgr()->SetControlSelectionListener(focusedAcc->GetNode()->AsElement());
|
||||
}
|
||||
|
||||
return updateFlags;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче