From 97f891eee353671aa375936e16dbbaba64e08548 Mon Sep 17 00:00:00 2001 From: "karlt+@karlt.net" Date: Thu, 27 Mar 2008 15:47:08 -0700 Subject: [PATCH] Correction to mroot width calculation. b=363240 r+sr=roc --- layout/mathml/base/src/nsMathMLmrootFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layout/mathml/base/src/nsMathMLmrootFrame.cpp b/layout/mathml/base/src/nsMathMLmrootFrame.cpp index 81195a6eb971..4b7060c728ef 100644 --- a/layout/mathml/base/src/nsMathMLmrootFrame.cpp +++ b/layout/mathml/base/src/nsMathMLmrootFrame.cpp @@ -415,7 +415,7 @@ nsMathMLmrootFrame::GetIntrinsicWidth(nsIRenderingContext* aRenderingContext) nscoord dxSqr; GetRadicalXOffsets(indexWidth, sqrWidth, fm, nsnull, &dxSqr); - return dxSqr + baseWidth; + return dxSqr + sqrWidth + baseWidth; } // ----------------------