зеркало из https://github.com/mozilla/gecko-dev.git
Make sure frames have been constructed before asking ESM to shift focus. b=273092 r+sr=bzbarsky
This commit is contained in:
Родитель
be9675122a
Коммит
4d73daeda7
|
@ -268,6 +268,9 @@ nsFocusController::MoveFocus(PRBool aForward, nsIDOMElement* aElt)
|
|||
if (!shell)
|
||||
return NS_OK;
|
||||
|
||||
// Make sure frames have been constructed before shifting focus, bug 273092.
|
||||
shell->FlushPendingNotifications(Flush_Frames);
|
||||
|
||||
// Retrieve the context
|
||||
nsCOMPtr<nsPresContext> presContext = shell->GetPresContext();
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче