summaryrefslogtreecommitdiff
path: root/dom
diff options
context:
space:
mode:
authorMoonchild <mcwerewolf@gmail.com>2017-12-05 14:55:08 +0100
committerGitHub <noreply@github.com>2017-12-05 14:55:08 +0100
commit552487f416eba55db853ab7c00dc45ac2cbf930f (patch)
treefb2aeab58fdcb47c7442f7f0b129efce4696e050 /dom
parente575a8d5e979d57c92d36c8b9aa6b3b98484c9a6 (diff)
parent7e8744ea403e16b1f166582ac245841dc622b464 (diff)
downloadpalemoon-gre-552487f416eba55db853ab7c00dc45ac2cbf930f.tar.gz
Merge pull request #1527 from janekptacijarabaci/dom_events_dragexit_1
DOM - events - add support for the ondragexit attribute
Diffstat (limited to 'dom')
-rw-r--r--dom/events/EventNameList.h8
-rw-r--r--dom/webidl/EventHandler.webidl2
2 files changed, 5 insertions, 5 deletions
diff --git a/dom/events/EventNameList.h b/dom/events/EventNameList.h
index 36e2110d8..360861503 100644
--- a/dom/events/EventNameList.h
+++ b/dom/events/EventNameList.h
@@ -193,6 +193,10 @@ EVENT(dragenter,
NS_DRAGDROP_ENTER,
EventNameType_HTMLXUL,
eDragEventClass)
+EVENT(dragexit,
+ NS_DRAGDROP_EXIT_SYNTH,
+ EventNameType_HTMLXUL,
+ eDragEventClass)
EVENT(dragleave,
NS_DRAGDROP_LEAVE_SYNTH,
EventNameType_HTMLXUL,
@@ -738,10 +742,6 @@ NON_IDL_EVENT(commandupdate,
NS_XUL_COMMAND_UPDATE,
EventNameType_XUL,
eBasicEventClass)
-NON_IDL_EVENT(dragexit,
- NS_DRAGDROP_EXIT_SYNTH,
- EventNameType_XUL,
- eDragEventClass)
NON_IDL_EVENT(dragdrop,
NS_DRAGDROP_DRAGDROP,
EventNameType_XUL,
diff --git a/dom/webidl/EventHandler.webidl b/dom/webidl/EventHandler.webidl
index 29252ebc6..a2217459b 100644
--- a/dom/webidl/EventHandler.webidl
+++ b/dom/webidl/EventHandler.webidl
@@ -45,7 +45,7 @@ interface GlobalEventHandlers {
attribute EventHandler ondrag;
attribute EventHandler ondragend;
attribute EventHandler ondragenter;
- //(Not implemented)attribute EventHandler ondragexit;
+ attribute EventHandler ondragexit;
attribute EventHandler ondragleave;
attribute EventHandler ondragover;
attribute EventHandler ondragstart;