Bug 81546: Don't add a dummy reflow request if we are in the middle of reflow; this was added by textareas in XHTML documents, and never removed, which prevented them from displaying. r=waterson@netscape.com,sr=attinasi@netscape.com

git-svn-id: svn://10.0.0.236/trunk@100384 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pollmann%netscape.com
2001-08-06 05:19:26 +00:00
parent 961440d74a
commit dd0cb6e219
2 changed files with 2 additions and 2 deletions

View File

@@ -6138,7 +6138,7 @@ PresShell::AddDummyLayoutRequest(void)
{
nsresult rv = NS_OK;
if (gAsyncReflowDuringDocLoad) {
if (gAsyncReflowDuringDocLoad && !mIsReflowing) {
rv = DummyLayoutRequest::Create(getter_AddRefs(mDummyLayoutRequest), this);
if (NS_FAILED(rv)) return rv;