зеркало из https://github.com/mozilla/gecko-dev.git
Bug 305944. Fix handling of event clipping regression. r+sr=roc, patch by Eli Friedman
This commit is contained in:
Родитель
0e9399d843
Коммит
9711031a79
|
@ -5957,7 +5957,7 @@ PresShell::HandleEvent(nsIView *aView,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else if (!InClipRect(frame,
|
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
|
// 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.
|
// 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
|
// Furthermore if the event is not in the clip for this frame, then none
|
||||||
|
|
Загрузка…
Ссылка в новой задаче