mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-01 16:02:53 +00:00
LibWeb/HTML: Dispatch command
events
Command events are now dispatched when buttons are activated. The special commands for popovers and dialogs are also implemented.
This commit is contained in:
parent
cce7d8c0fb
commit
c0cbd439a2
Notes:
github-actions[bot]
2025-04-18 11:10:59 +00:00
Author: https://github.com/skyz1
Commit: c0cbd439a2
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4220
Reviewed-by: https://github.com/tcl3 ✅
14 changed files with 1037 additions and 4 deletions
|
@ -39,6 +39,9 @@ public:
|
|||
bool is_modal() const { return m_is_modal; }
|
||||
void set_is_modal(bool);
|
||||
|
||||
bool is_valid_invoker_command(String&) override;
|
||||
void invoker_command_steps(DOM::Element&, String&) override;
|
||||
|
||||
private:
|
||||
HTMLDialogElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue