Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky a=beltzner
git-svn-id: svn://10.0.0.236/branches/MOZILLA_1_8_BRANCH@207601 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -952,7 +952,7 @@ nsObjectFrame::GetDesiredSize(nsPresContext* aPresContext,
|
||||
aMetrics.ascent = aMetrics.height;
|
||||
|
||||
if (aMetrics.mComputeMEW) {
|
||||
aMetrics.mMaxElementWidth = aMetrics.width;
|
||||
aMetrics.SetMEWToActualWidth(aReflowState.mStylePosition->mWidth.GetUnit());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user