Make <math> 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
This commit is contained in:
bzbarsky%mit.edu 2006-09-24 20:30:43 +00:00
parent 38d4f7d943
commit ef52a6f4b4

View File

@ -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