зеркало из https://github.com/mozilla/pjs.git
Implemented element-level capturing in the XUL DOM.
This commit is contained in:
Родитель
72978b6209
Коммит
5356344529
|
@ -2709,10 +2709,10 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext,
|
|||
}
|
||||
|
||||
// Node capturing stage
|
||||
// XXX Needs to be implemented. Copy from nsGenericElement at some point.
|
||||
// Talk to joki@netscape.com for help.
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags) {
|
||||
// Help!
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags && mParent) {
|
||||
// Pass off to our parent.
|
||||
mParent->HandleDOMEvent(aPresContext, aEvent, aDOMEvent,
|
||||
NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
}
|
||||
|
||||
//Local handling stage
|
||||
|
|
|
@ -2709,10 +2709,10 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext,
|
|||
}
|
||||
|
||||
// Node capturing stage
|
||||
// XXX Needs to be implemented. Copy from nsGenericElement at some point.
|
||||
// Talk to joki@netscape.com for help.
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags) {
|
||||
// Help!
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags && mParent) {
|
||||
// Pass off to our parent.
|
||||
mParent->HandleDOMEvent(aPresContext, aEvent, aDOMEvent,
|
||||
NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
}
|
||||
|
||||
//Local handling stage
|
||||
|
|
|
@ -2709,10 +2709,10 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext,
|
|||
}
|
||||
|
||||
// Node capturing stage
|
||||
// XXX Needs to be implemented. Copy from nsGenericElement at some point.
|
||||
// Talk to joki@netscape.com for help.
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags) {
|
||||
// Help!
|
||||
if (NS_EVENT_FLAG_BUBBLE != aFlags && mParent) {
|
||||
// Pass off to our parent.
|
||||
mParent->HandleDOMEvent(aPresContext, aEvent, aDOMEvent,
|
||||
NS_EVENT_FLAG_CAPTURE, aEventStatus);
|
||||
}
|
||||
|
||||
//Local handling stage
|
||||
|
|
Загрузка…
Ссылка в новой задаче