Backed out changeset 593d94e9492e

This commit is contained in:
Dão Gottwald 2011-07-13 17:10:49 +02:00
parent f7e1485f10
commit 80591e13ad

View File

@ -419,7 +419,8 @@ nsMathMLmunderoverFrame::Place(nsRenderingContext& aRenderingContext,
mBoundingMetrics.ascent =
bmBase.ascent + overDelta1 + bmOver.ascent + bmOver.descent;
mBoundingMetrics.descent = bmBase.descent;
mBoundingMetrics.descent =
bmBase.descent + underDelta1 + bmUnder.ascent + bmUnder.descent;
mBoundingMetrics.leftBearing =
NS_MIN(dxBase + bmBase.leftBearing, dxOver + bmOver.leftBearing);
mBoundingMetrics.rightBearing =
@ -462,9 +463,6 @@ nsMathMLmunderoverFrame::Place(nsRenderingContext& aRenderingContext,
mBoundingMetrics.width =
NS_MAX(dxAnonymousBase + bmAnonymousBase.width, dxUnder + bmUnder.width);
// At this point, mBoundingMetrics.ascent = bmAnonymousBase.ascent
mBoundingMetrics.descent =
bmAnonymousBase.descent + underDelta1 + bmUnder.ascent + bmUnder.descent;
mBoundingMetrics.leftBearing =
NS_MIN(dxAnonymousBase + bmAnonymousBase.leftBearing, dxUnder + bmUnder.leftBearing);
mBoundingMetrics.rightBearing =