From 2c14dc434abd56defdb28d6e924cd42f7c3e5272 Mon Sep 17 00:00:00 2001 From: Cameron Kaiser Date: Mon, 10 Sep 2018 20:16:51 -0700 Subject: [PATCH] #399: implement Event.srcElement as alias --- dom/webidl/Event.webidl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dom/webidl/Event.webidl b/dom/webidl/Event.webidl index 8e908db743..75c6e6ec56 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;