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
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user