mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibWeb: Flesh out "document visibility" state a bit more
We can now "update the visibility state", which also causes `visibilitychange` events to fire on the document. This still needs GUI integration work at the BrowsingContext level.
This commit is contained in:
Notes:
sideshowbarker
2024-07-17 06:50:03 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/42b8656db3
@@ -57,7 +57,8 @@ namespace Web::HTML::EventNames {
|
||||
__ENUMERATE_HTML_EVENT(submit) \
|
||||
__ENUMERATE_HTML_EVENT(toggle) \
|
||||
__ENUMERATE_HTML_EVENT(unhandledrejection) \
|
||||
__ENUMERATE_HTML_EVENT(unload)
|
||||
__ENUMERATE_HTML_EVENT(unload) \
|
||||
__ENUMERATE_HTML_EVENT(visibilitychange)
|
||||
|
||||
#define __ENUMERATE_HTML_EVENT(name) extern FlyString name;
|
||||
ENUMERATE_HTML_EVENTS
|
||||
|
||||
Reference in New Issue
Block a user