diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-10-19 03:41:21 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-10-19 10:00:26 +0200 |
commit | defe4d50ff299be543f8470120ff678207e7cf6d (patch) | |
tree | f34d6c3a633199c15607189b878c39de5f17b0f3 /Userland/Libraries/LibWeb | |
parent | 545d403f6b00f1753cc93add1752e2aab1641471 (diff) | |
download | serenity-defe4d50ff299be543f8470120ff678207e7cf6d.zip |
LibWeb: Add Event.eventPhase constants
Diffstat (limited to 'Userland/Libraries/LibWeb')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/Event.idl | 4 |
1 files changed, 4 insertions, 0 deletions
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<EventTarget> 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(); |