Bug 13058: Keep the cache in sync with the widget state for native selects.
git-svn-id: svn://10.0.0.236/trunk@47366 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user