diff --git a/mozilla/layout/base/nsCSSFrameConstructor.cpp b/mozilla/layout/base/nsCSSFrameConstructor.cpp index 2f9dd36031e..bf345f6a3b1 100644 --- a/mozilla/layout/base/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/base/nsCSSFrameConstructor.cpp @@ -3740,7 +3740,7 @@ nsCSSFrameConstructor::ConstructFrameByTag(nsIPresShell* aPresShell, rv = NS_NewObjectFrame(aPresShell, &newFrame); } else if (nsHTMLAtoms::form == aTag) { - rv = NS_NewFormFrame(aPresShell, &newFrame, NS_BLOCK_SPACE_MGR|NS_BLOCK_WRAP_SIZE); + rv = NS_NewFormFrame(aPresShell, &newFrame, 0); processChildren = PR_TRUE; } else if (nsHTMLAtoms::frameset == aTag) { diff --git a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp index 2f9dd36031e..bf345f6a3b1 100644 --- a/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp +++ b/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp @@ -3740,7 +3740,7 @@ nsCSSFrameConstructor::ConstructFrameByTag(nsIPresShell* aPresShell, rv = NS_NewObjectFrame(aPresShell, &newFrame); } else if (nsHTMLAtoms::form == aTag) { - rv = NS_NewFormFrame(aPresShell, &newFrame, NS_BLOCK_SPACE_MGR|NS_BLOCK_WRAP_SIZE); + rv = NS_NewFormFrame(aPresShell, &newFrame, 0); processChildren = PR_TRUE; } else if (nsHTMLAtoms::frameset == aTag) {