From b5b27bd2c4dc44342b3aaa461872d079b690ce6d Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Tue, 8 Aug 2000 14:27:36 +0000 Subject: [PATCH] minor fix for max-element-size. The minsize needs to be calc and cached during the regular reflow there is too much state to be remember to calc the min size for when ever it is asked for it. (see also fix nsBoxFramae.cpp) b=40596 r=evaughan git-svn-id: svn://10.0.0.236/trunk@75787 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp b/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp index 5bfad207873..0feb8a2f6d5 100644 --- a/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp +++ b/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp @@ -1920,7 +1920,7 @@ nsGfxTextControlFrame2::GetPrefSize(nsBoxLayoutState& aState, nsSize& aSize) NS_IMETHODIMP nsGfxTextControlFrame2::GetMinSize(nsBoxLayoutState& aState, nsSize& aSize) { - +#define FIX_FOR_BUG_40596 #ifdef FIX_FOR_BUG_40596 aSize = mMinSize; return NS_OK;