mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 17:55:07 +02:00
LibWeb: Light dismiss dialogs on click
This commit is contained in:
Notes:
github-actions[bot]
2025-04-29 01:43:02 +00:00
Author: https://github.com/Gingeh Commit: https://github.com/LadybirdBrowser/ladybird/commit/aa9f556500a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4428 Reviewed-by: https://github.com/AtkinsSJ ✅
@@ -12,6 +12,7 @@
|
||||
#include <LibWeb/HTML/CloseWatcherManager.h>
|
||||
#include <LibWeb/HTML/Focus.h>
|
||||
#include <LibWeb/HTML/HTMLAnchorElement.h>
|
||||
#include <LibWeb/HTML/HTMLDialogElement.h>
|
||||
#include <LibWeb/HTML/HTMLFormElement.h>
|
||||
#include <LibWeb/HTML/HTMLIFrameElement.h>
|
||||
#include <LibWeb/HTML/HTMLImageElement.h>
|
||||
@@ -347,7 +348,8 @@ static void light_dismiss_activities(UIEvents::PointerEvent const& event, const
|
||||
// 1. Run light dismiss open popovers with event.
|
||||
HTML::HTMLElement::light_dismiss_open_popovers(event, target);
|
||||
|
||||
// FIXME: 2. Run light dismiss open dialogs with event.
|
||||
// 2. Run light dismiss open dialogs with event.
|
||||
HTML::HTMLDialogElement::light_dismiss_open_dialogs(event, target);
|
||||
}
|
||||
|
||||
EventHandler::EventHandler(Badge<HTML::Navigable>, HTML::Navigable& navigable)
|
||||
|
||||
Reference in New Issue
Block a user