mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-03 02:25:34 +00:00
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:
parent
8cc47c9214
commit
3e276b1a39
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user