mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
LibWeb/HTML: Extract dialog show_modal() into its own algorithm
Corresponds to https://github.com/whatwg/html/pull/10961
This commit is contained in:
Notes:
github-actions[bot]
2025-02-10 13:57:58 +00:00
Author: https://github.com/AtkinsSJ Commit: https://github.com/LadybirdBrowser/ladybird/commit/52a92b7937a Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3407
@@ -26,6 +26,8 @@ public:
|
||||
String return_value() const;
|
||||
void set_return_value(String);
|
||||
|
||||
static WebIDL::ExceptionOr<void> show_a_modal_dialog(HTMLDialogElement&);
|
||||
|
||||
WebIDL::ExceptionOr<void> show();
|
||||
WebIDL::ExceptionOr<void> show_modal();
|
||||
void close(Optional<String> return_value);
|
||||
|
||||
Reference in New Issue
Block a user