Fixed pseudoclass hack to actually use active, hover, focus pseudoclasses.

git-svn-id: svn://10.0.0.236/trunk@31365 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
evaughan%netscape.com
1999-05-13 01:35:16 +00:00
parent cde9971333
commit 6073e2aa13
18 changed files with 201 additions and 817 deletions

View File

@@ -571,6 +571,15 @@ NS_METHOD nsFormControlFrame::HandleEvent(nsIPresContext& aPresContext,
}
}
// lets see if the button was clicked. -EDV
switch (aEvent->message) {
case NS_MOUSE_LEFT_CLICK:
MouseClicked(&aPresContext);
break;
}
/* All this this now done internally in Gecko.
//printf(" %d %d %d %d (%d,%d) \n", this, aEvent->widget, aEvent->widgetSupports,
// aEvent->message, aEvent->point.x, aEvent->point.y);
@@ -608,6 +617,7 @@ NS_METHOD nsFormControlFrame::HandleEvent(nsIPresContext& aPresContext,
}
break;
}
*/
aEventStatus = nsEventStatus_eConsumeDoDefault;
return NS_OK;
}