mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-02 22:30:31 +00: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:
parent
21989ef543
commit
52a92b7937
Notes:
github-actions[bot]
2025-02-10 13:57:58 +00:00
Author: https://github.com/AtkinsSJ
Commit: 52a92b7937
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3407
2 changed files with 52 additions and 42 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue