зеркало из https://github.com/mozilla/gecko-dev.git
correctly set target of dragenter/exit events.
This commit is contained in:
Родитель
52a4727f95
Коммит
e5d030d873
|
@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext,
|
|||
GetTagName(tagName);
|
||||
if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE ||
|
||||
aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED ||
|
||||
aEvent->message == NS_FORM_CHANGE ||
|
||||
aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER ||
|
||||
aEvent->message == NS_DRAGDROP_EXIT ||
|
||||
tagName == "menu" || tagName == "menuitem" ||
|
||||
tagName == "menubar" || tagName == "key" || tagName == "keyset") {
|
||||
nsCOMPtr<nsIEventListenerManager> listenerManager;
|
||||
|
|
|
@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext,
|
|||
GetTagName(tagName);
|
||||
if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE ||
|
||||
aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED ||
|
||||
aEvent->message == NS_FORM_CHANGE ||
|
||||
aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER ||
|
||||
aEvent->message == NS_DRAGDROP_EXIT ||
|
||||
tagName == "menu" || tagName == "menuitem" ||
|
||||
tagName == "menubar" || tagName == "key" || tagName == "keyset") {
|
||||
nsCOMPtr<nsIEventListenerManager> listenerManager;
|
||||
|
|
|
@ -2815,7 +2815,8 @@ RDFElementImpl::HandleDOMEvent(nsIPresContext& aPresContext,
|
|||
GetTagName(tagName);
|
||||
if (aEvent->message == NS_MENU_ACTION || aEvent->message == NS_MENU_CREATE ||
|
||||
aEvent->message == NS_MENU_DESTROY || aEvent->message == NS_FORM_SELECTED ||
|
||||
aEvent->message == NS_FORM_CHANGE ||
|
||||
aEvent->message == NS_FORM_CHANGE || aEvent->message == NS_DRAGDROP_ENTER ||
|
||||
aEvent->message == NS_DRAGDROP_EXIT ||
|
||||
tagName == "menu" || tagName == "menuitem" ||
|
||||
tagName == "menubar" || tagName == "key" || tagName == "keyset") {
|
||||
nsCOMPtr<nsIEventListenerManager> listenerManager;
|
||||
|
|
Загрузка…
Ссылка в новой задаче