Bug 305944. Fix handling of event clipping regression. r+sr=roc, patch by Eli Friedman

git-svn-id: svn://10.0.0.236/trunk@179444 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
roc+%cs.cmu.edu
2005-08-31 23:06:39 +00:00
parent 40ab77790d
commit 394810d3af

View File

@@ -5957,7 +5957,7 @@ PresShell::HandleEvent(nsIView *aView,
}
}
else if (!InClipRect(frame,
nsLayoutUtils::GetEventCoordinatesForNearestView(aEvent, frame))) {
nsLayoutUtils::GetEventCoordinatesRelativeTo(aEvent, frame))) {
// we only check for the clip rect on this frame ... all frames with clip
// have views so any viewless children of this frame cannot have clip.
// Furthermore if the event is not in the clip for this frame, then none