summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Myhra <kennethmyhra@gmail.com>2023-04-07 11:35:45 +0200
committerLinus Groh <mail@linusgroh.de>2023-04-07 22:41:01 +0200
commite0002aa9939c71deb32dc0065cba9e129e389ad5 (patch)
treed594b667504de6cc5c588af36eaf3478695f9186
parentd7ff360969a8736679acccf146377468d0c046f9 (diff)
downloadserenity-e0002aa9939c71deb32dc0065cba9e129e389ad5.zip
LibWeb: Move string literals to HTML::EventNames
This moves the string literals animation{end,iteration,start} and transitionend to HTML::EVentNames.
-rw-r--r--Userland/Libraries/LibWeb/HTML/EventNames.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/EventNames.h b/Userland/Libraries/LibWeb/HTML/EventNames.h
index e222841343..3804919072 100644
--- a/Userland/Libraries/LibWeb/HTML/EventNames.h
+++ b/Userland/Libraries/LibWeb/HTML/EventNames.h
@@ -17,6 +17,9 @@ namespace Web::HTML::EventNames {
#define ENUMERATE_HTML_EVENTS \
__ENUMERATE_HTML_EVENT(abort) \
__ENUMERATE_HTML_EVENT(addtrack) \
+ __ENUMERATE_HTML_EVENT(animationend) \
+ __ENUMERATE_HTML_EVENT(animationiteration) \
+ __ENUMERATE_HTML_EVENT(animationstart) \
__ENUMERATE_HTML_EVENT(afterprint) \
__ENUMERATE_HTML_EVENT(beforeprint) \
__ENUMERATE_HTML_EVENT(beforeunload) \
@@ -86,6 +89,7 @@ namespace Web::HTML::EventNames {
__ENUMERATE_HTML_EVENT(suspend) \
__ENUMERATE_HTML_EVENT(timeupdate) \
__ENUMERATE_HTML_EVENT(toggle) \
+ __ENUMERATE_HTML_EVENT(transitionend) \
__ENUMERATE_HTML_EVENT(unhandledrejection) \
__ENUMERATE_HTML_EVENT(unload) \
__ENUMERATE_HTML_EVENT(visibilitychange) \