Implemented element-level capturing in the XUL DOM.

This commit is contained in:
hyatt%netscape.com 1999-08-23 07:26:57 +00:00
Родитель 72978b6209
Коммит 5356344529
3 изменённых файлов: 12 добавлений и 12 удалений

Просмотреть файл

@ -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