Added code to reflow doc when all connections complete if it contains an unsized image. r=sdagley

This commit is contained in:
waterson%netscape.com 1998-09-10 01:06:56 +00:00
Родитель 46a77cbf17
Коммит 3eab3a63cf
1 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -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);
}
}