Bug 191847,297464, allow negative widths in <mspace> for uses like overstriking, r+sr=roc

git-svn-id: svn://10.0.0.236/trunk@182512 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rbs%maths.uq.edu.au
2005-10-19 00:57:17 +00:00
parent f8a0c96732
commit b6df49e082
2 changed files with 16 additions and 3 deletions

View File

@@ -135,6 +135,8 @@ nsMathMLmspaceFrame::Reflow(nsPresContext* aPresContext,
mBoundingMetrics.width = mWidth;
mBoundingMetrics.ascent = mHeight;
mBoundingMetrics.descent = mDepth;
mBoundingMetrics.leftBearing = 0;
mBoundingMetrics.rightBearing = mWidth;
aDesiredSize.ascent = mHeight;
aDesiredSize.descent = mDepth;