frames with a percentage based width should report a 0 MEW bug 246999 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@161543 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -470,7 +470,7 @@ nsFormControlFrame::GetDesiredSize(nsPresContext* aPresContext,
|
||||
aDesiredLayoutSize.ascent = aDesiredLayoutSize.height;
|
||||
aDesiredLayoutSize.descent = 0;
|
||||
if (aDesiredLayoutSize.mComputeMEW) {
|
||||
aDesiredLayoutSize.mMaxElementWidth = aDesiredLayoutSize.width;
|
||||
aDesiredLayoutSize.SetMEWToActualWidth(aReflowState.mStylePosition->mWidth.GetUnit());
|
||||
}
|
||||
aDesiredWidgetSize.width = aDesiredLayoutSize.width;
|
||||
aDesiredWidgetSize.height = aDesiredLayoutSize.height;
|
||||
|
||||
Reference in New Issue
Block a user