mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-10 09:19:28 +00:00
Fix for blocker bug #14464. Reviewed by Hyatt, checkin permission by leaf.
This commit is contained in:
parent
46ee5b7f29
commit
83ab100d9c
@ -773,6 +773,12 @@ nsGenericElement::HandleDOMEvent(nsIPresContext& aPresContext,
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags) {
|
||||
if (nsnull != mDOMSlots && nsnull != mDOMSlots->mCapturer) {
|
||||
mDOMSlots->mCapturer->HandleDOMEvent(aPresContext, aEvent, aDOMEvent, NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
} else {
|
||||
// Node capturing stage
|
||||
if (mParent) {
|
||||
// Pass off to our parent.
|
||||
mParent->HandleDOMEvent(aPresContext, aEvent, aDOMEvent, NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -773,6 +773,12 @@ nsGenericElement::HandleDOMEvent(nsIPresContext& aPresContext,
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags) {
|
||||
if (nsnull != mDOMSlots && nsnull != mDOMSlots->mCapturer) {
|
||||
mDOMSlots->mCapturer->HandleDOMEvent(aPresContext, aEvent, aDOMEvent, NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
} else {
|
||||
// Node capturing stage
|
||||
if (mParent) {
|
||||
// Pass off to our parent.
|
||||
mParent->HandleDOMEvent(aPresContext, aEvent, aDOMEvent, NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user