From defe4d50ff299be543f8470120ff678207e7cf6d Mon Sep 17 00:00:00 2001 From: Luke Wilde Date: Tue, 19 Oct 2021 03:41:21 +0100 Subject: LibWeb: Add Event.eventPhase constants --- Userland/Libraries/LibWeb/DOM/Event.idl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'Userland/Libraries/LibWeb/DOM/Event.idl') diff --git a/Userland/Libraries/LibWeb/DOM/Event.idl b/Userland/Libraries/LibWeb/DOM/Event.idl index 68f2329e2b..5e10b94a02 100644 --- a/Userland/Libraries/LibWeb/DOM/Event.idl +++ b/Userland/Libraries/LibWeb/DOM/Event.idl @@ -8,6 +8,10 @@ interface Event { readonly attribute EventTarget? currentTarget; sequence composedPath(); + const unsigned short NONE = 0; + const unsigned short CAPTURING_PHASE = 1; + const unsigned short AT_TARGET = 2; + const unsigned short BUBBLING_PHASE = 3; readonly attribute unsigned short eventPhase; undefined stopPropagation(); -- cgit v1.2.3