From 7c47c39d1e589082b63e8fd5f50fe3839cc6f97f Mon Sep 17 00:00:00 2001 From: "pollmann%netscape.com" Date: Tue, 14 Sep 1999 19:39:23 +0000 Subject: [PATCH] Bug 13058: Keep the cache in sync with the widget state for native selects. --- layout/html/forms/src/nsNativeFormControlFrame.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/layout/html/forms/src/nsNativeFormControlFrame.cpp b/layout/html/forms/src/nsNativeFormControlFrame.cpp index 0596dfb5039..3937c92d593 100644 --- a/layout/html/forms/src/nsNativeFormControlFrame.cpp +++ b/layout/html/forms/src/nsNativeFormControlFrame.cpp @@ -298,11 +298,7 @@ NS_METHOD nsNativeFormControlFrame::HandleEvent(nsIPresContext& aPresContext, break; case NS_MOUSE_LEFT_BUTTON_DOWN: - if (NS_FORM_INPUT_IMAGE == type) { - mLastMouseState = eMouseDown; - } else { - mLastMouseState = (eMouseEnter == mLastMouseState) ? eMouseDown : eMouseNone; - } + mLastMouseState = eMouseDown; break; case NS_MOUSE_LEFT_BUTTON_UP: