Fix event targetting bugs by using paint layers in GetFrameForPoint, testing for visibility, and trying GetFrameForPoint on additional views if one fails. r=joki@netscape.com(, hyatt@netscape.com) b=12232,20051,21304,24474,26785, and remaining issues from 23161.
git-svn-id: svn://10.0.0.236/trunk@63689 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -795,8 +795,7 @@ NS_IMETHODIMP nsView :: HandleEvent(nsGUIEvent *event, PRUint32 aEventFlags,
|
||||
//if no child's bounds matched the event or we consumed but still want
|
||||
//default behavior check the view itself. -EDV
|
||||
if (nsnull != mClientData && nsnull != obs) {
|
||||
obs->HandleEvent((nsIView *)this, event, aStatus);
|
||||
aHandled = PR_TRUE;
|
||||
obs->HandleEvent((nsIView *)this, event, aStatus, aHandled);
|
||||
}
|
||||
}
|
||||
/* XXX Just some debug code to see what event are being thrown away because
|
||||
|
||||
Reference in New Issue
Block a user