diff options
author | Moonchild <mcwerewolf@gmail.com> | 2018-07-11 12:51:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-11 12:51:43 +0200 |
commit | 3b7ffb477eec078c7036c92c6a51bb5de6de4f28 (patch) | |
tree | 0971822b6574f0e5b5808be341e1bfcd90c8e637 /dom | |
parent | f15849458543064fb31c31b7d675f6959213ba04 (diff) | |
parent | e6af24eb6c1defe0fd221326029d49fa1858ad14 (diff) | |
download | UXP-3b7ffb477eec078c7036c92c6a51bb5de6de4f28.tar UXP-3b7ffb477eec078c7036c92c6a51bb5de6de4f28.tar.gz UXP-3b7ffb477eec078c7036c92c6a51bb5de6de4f28.tar.lz UXP-3b7ffb477eec078c7036c92c6a51bb5de6de4f28.tar.xz UXP-3b7ffb477eec078c7036c92c6a51bb5de6de4f28.zip |
Merge pull request #623 from janekptacijarabaci/dom_event_srcElement_1
Add event.srcElement (the alias for event.target)
Diffstat (limited to 'dom')
-rw-r--r-- | dom/webidl/Event.webidl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/dom/webidl/Event.webidl b/dom/webidl/Event.webidl index f87dc195c..70a0ef513 100644 --- a/dom/webidl/Event.webidl +++ b/dom/webidl/Event.webidl @@ -17,6 +17,8 @@ interface Event { readonly attribute DOMString type; [Pure] readonly attribute EventTarget? target; + [Pure, BinaryName="target"] + readonly attribute EventTarget? srcElement; [Pure] readonly attribute EventTarget? currentTarget; |