From e3d372d68cb66dcd4ab76368853d99fccfeecc61 Mon Sep 17 00:00:00 2001 From: "rods%netscape.com" Date: Mon, 14 May 2001 13:50:35 +0000 Subject: [PATCH] change the default to be 20 when a "null" size is specified Bug 73575 r=kmcclusk, sr=attinasi git-svn-id: svn://10.0.0.236/trunk@94887 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 a13cd663eee..cebbd442bbd 100644 --- a/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp +++ b/mozilla/layout/html/forms/src/nsGfxTextControlFrame2.cpp @@ -2412,7 +2412,7 @@ nsGfxTextControlFrame2::GetSizeFromContent(PRInt32* aSize) const *aSize = 20; } #else - *aSize = 1; + *aSize = 20; // use '1' to be compatable with Nav 4.x, Use '20' to be compatable with IE #endif } return result;