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
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

@ -151,6 +151,9 @@ public:
bool is_inert() const { return m_inert; }
virtual bool is_valid_invoker_command(String&) { return false; }
virtual void invoker_command_steps(DOM::Element&, String&) { }
protected:
HTMLElement(DOM::Document&, DOM::QualifiedName);