From 1877e4460874f3189f78b609d907d4e2269f01a5 Mon Sep 17 00:00:00 2001 From: "rbs%maths.uq.edu.au" Date: Sun, 30 Apr 2006 20:34:46 +0000 Subject: [PATCH] Extra patch to quiet an assertion, b=323733, r+sr=roc --- layout/mathml/base/src/nsMathMLTokenFrame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/layout/mathml/base/src/nsMathMLTokenFrame.cpp b/layout/mathml/base/src/nsMathMLTokenFrame.cpp index 91cf3375cca6..08d065a88f22 100644 --- a/layout/mathml/base/src/nsMathMLTokenFrame.cpp +++ b/layout/mathml/base/src/nsMathMLTokenFrame.cpp @@ -184,6 +184,10 @@ printf("\n"); // place and size children FinalizeReflow(*aReflowState.rendContext, aDesiredSize); + + // XXX set a tentative size for the overflow area. The frame might still be + // stretched later. + aDesiredSize.mOverflowArea.SetRect(0, 0, aDesiredSize.width, aDesiredSize.height); FinishAndStoreOverflow(&aDesiredSize); aStatus = NS_FRAME_COMPLETE;