Bug 1420589 Part4: Revise PointerEventHandler utilities. r=smaug.
MozReview-Commit-ID: DpGrbbYJbzh
This commit is contained in:
@@ -7186,7 +7186,12 @@ PresShell::HandleEvent(nsIFrame* aFrame,
|
||||
}
|
||||
}
|
||||
|
||||
frame = PointerEventHandler::GetPointerCapturingFrame(frame, aEvent);
|
||||
nsIFrame* pointerCapturingFrame =
|
||||
PointerEventHandler::GetPointerCapturingFrame(aEvent);
|
||||
|
||||
if (pointerCapturingFrame) {
|
||||
frame = pointerCapturingFrame;
|
||||
}
|
||||
|
||||
// Suppress mouse event if it's being targeted at an element inside
|
||||
// a document which needs events suppressed
|
||||
|
||||
Reference in New Issue
Block a user