From e6af24eb6c1defe0fd221326029d49fa1858ad14 Mon Sep 17 00:00:00 2001
From: janekptacijarabaci <janekptacijarabaci@seznam.cz>
Date: Wed, 11 Jul 2018 07:54:50 +0200
Subject: Add event.srcElement (the alias for event.target)

Issue #622
---
 dom/webidl/Event.webidl | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'dom/webidl/Event.webidl')

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;
 
-- 
cgit v1.2.3