зеркало из https://github.com/mozilla/gecko-dev.git
Added code to reflow doc when all connections complete if it contains an unsized image. r=sdagley
This commit is contained in:
Родитель
46a77cbf17
Коммит
3eab3a63cf
|
@ -1105,7 +1105,13 @@ void CBrowserContext::AllConnectionsComplete(void)
|
|||
LO_InvalidateFontData(*this);
|
||||
this->Repaginate();
|
||||
}
|
||||
|
||||
else if (mContext.requires_reflow)
|
||||
{
|
||||
// Okay, we've blasted over an image with no width or height, so
|
||||
// now we have to pay our dues and reflow the page.
|
||||
mContext.requires_reflow = PR_FALSE;
|
||||
LO_RelayoutFromElement(*this, NULL);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче