diff options
author | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-11 07:54:50 +0200 |
---|---|---|
committer | janekptacijarabaci <janekptacijarabaci@seznam.cz> | 2018-07-11 07:54:50 +0200 |
commit | e6af24eb6c1defe0fd221326029d49fa1858ad14 (patch) | |
tree | 887a2e80123220d830e15d0dfa5c672d8ba18091 /dom/webidl/Event.webidl | |
parent | 4483ac5c5f082e4efb21ab711aec9a0a74d20448 (diff) | |
download | UXP-e6af24eb6c1defe0fd221326029d49fa1858ad14.tar UXP-e6af24eb6c1defe0fd221326029d49fa1858ad14.tar.gz UXP-e6af24eb6c1defe0fd221326029d49fa1858ad14.tar.lz UXP-e6af24eb6c1defe0fd221326029d49fa1858ad14.tar.xz UXP-e6af24eb6c1defe0fd221326029d49fa1858ad14.zip |
Add event.srcElement (the alias for event.target)
Issue #622
Diffstat (limited to 'dom/webidl/Event.webidl')
-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; |