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:
Glenn Skrzypczak 2025-04-04 14:30:56 +02:00 committed by Tim Ledbetter
parent cce7d8c0fb
commit c0cbd439a2
Notes: github-actions[bot] 2025-04-18 11:10:59 +00:00
14 changed files with 1037 additions and 4 deletions

View file

@ -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);