From ef52a6f4b4a28675ec8f940e15caddeb58246ddb Mon Sep 17 00:00:00 2001 From: "bzbarsky%mit.edu" Date: Sun, 24 Sep 2006 20:30:43 +0000 Subject: [PATCH] Make have its own space manager. Bug 353894, r+sr=rbs git-svn-id: svn://10.0.0.236/trunk@212260 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/mathml/base/src/nsMathMLContainerFrame.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mozilla/layout/mathml/base/src/nsMathMLContainerFrame.h b/mozilla/layout/mathml/base/src/nsMathMLContainerFrame.h index 8033a696dd0..2d2605e6180 100644 --- a/mozilla/layout/mathml/base/src/nsMathMLContainerFrame.h +++ b/mozilla/layout/mathml/base/src/nsMathMLContainerFrame.h @@ -379,7 +379,11 @@ public: } protected: - nsMathMLmathBlockFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) {} + nsMathMLmathBlockFrame(nsStyleContext* aContext) : nsBlockFrame(aContext) { + // We should always have a space manager. Not that things can really try + // to float out of us anyway, but we need one for line layout. + AddStateBits(NS_BLOCK_SPACE_MGR); + } virtual ~nsMathMLmathBlockFrame() {} NS_IMETHOD