mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-14 10:43:24 +00:00
Use SetMEWToActualWidth when we set the MEW to the actual width. b=331684 r+sr=bzbarsky
This commit is contained in:
parent
68eeed0630
commit
7ff576f023
@ -660,7 +660,7 @@ nsObjectFrame::GetDesiredSize(nsPresContext* aPresContext,
|
||||
aMetrics.ascent = aMetrics.height;
|
||||
|
||||
if (aMetrics.mComputeMEW) {
|
||||
aMetrics.mMaxElementWidth = aMetrics.width;
|
||||
aMetrics.SetMEWToActualWidth(aReflowState.mStylePosition->mWidth.GetUnit());
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user