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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user