during reflow it makes sure the maxelementsize width is set to the smaller of

min size or the current size.
(see also fix nsGfxTextControlFrame.cpp)
b=40596 r=evaughan


git-svn-id: svn://10.0.0.236/trunk@75788 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rods%netscape.com 2000-08-08 14:30:08 +00:00
parent b5b27bd2c4
commit a7b92c54bc

View File

@ -748,6 +748,7 @@ nsBoxFrame::Reflow(nsIPresContext* aPresContext,
{
nsSize minSize(0,0);
GetMinSize(state, minSize);
#define FIX_FOR_BUG_40596
#ifdef FIX_FOR_BUG_40596
if (mRect.width > minSize.width)
#else