Bug 959257 - Google's search box may not emit caret move events. r=tbsaunde

This commit is contained in:
Jonathan Wei 2014-01-29 17:07:35 -05:00
parent d48db5158b
commit 3ad4a034fd

View File

@ -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 // XXX: do we really want to send focus to focused DOM node not taking into
// account active item? // account active item?
if (focusedAcc) if (focusedAcc) {
FocusMgr()->DispatchFocusEvent(this, focusedAcc); FocusMgr()->DispatchFocusEvent(this, focusedAcc);
SelectionMgr()->SetControlSelectionListener(focusedAcc->GetNode()->AsElement());
}
return updateFlags; return updateFlags;
} }