Bug 577508 - Make the HTML5 parser hide the old page from view when the page being loaded shows a dialog. r=bzbarsky, a=blocking2.0-final.

This commit is contained in:
Henri Sivonen
2010-07-21 12:49:36 +03:00
parent cc27aefc0e
commit e87f4f23d7
2 changed files with 28 additions and 18 deletions

View File

@@ -201,6 +201,10 @@ nsHtml5TreeOpExecutor::SetParser(nsIParser* aParser)
void
nsHtml5TreeOpExecutor::FlushPendingNotifications(mozFlushType aType)
{
if (aType >= Flush_InterruptibleLayout) {
// Bug 577508 / 253951
nsContentSink::StartLayout(PR_FALSE);
}
}
void