From 12ddd61adda818ee82fc96b39d6bd016bbecc947 Mon Sep 17 00:00:00 2001 From: "reed@reedloden.com" Date: Thu, 8 Nov 2007 22:53:04 -0800 Subject: [PATCH] Bug 400057 - ""ASSERTION: Frame is not in the block" with xul and mathml" (MathML fix) [p=roc r+sr=bzbarsky a=blocking1.9+] --- layout/mathml/base/src/nsMathMLContainerFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/mathml/base/src/nsMathMLContainerFrame.cpp b/layout/mathml/base/src/nsMathMLContainerFrame.cpp index 5b9dd4defd08..973de5aef06f 100644 --- a/layout/mathml/base/src/nsMathMLContainerFrame.cpp +++ b/layout/mathml/base/src/nsMathMLContainerFrame.cpp @@ -1046,7 +1046,7 @@ nsMathMLContainerFrame::Reflow(nsPresContext* aPresContext, // Asking each child to cache its bounding metrics nsReflowStatus childStatus; - nsSize availSize(aReflowState.ComputedWidth(), aReflowState.ComputedHeight()); + nsSize availSize(aReflowState.ComputedWidth(), NS_UNCONSTRAINEDSIZE); nsHTMLReflowMetrics childDesiredSize(aDesiredSize.mFlags); nsIFrame* childFrame = mFrames.FirstChild(); while (childFrame) {