mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
LibWeb/HTML: Add the command attribute to the button element
This commit adds the getter and setter for the command attribute to the button element. Executing commands is not implemented yet.
This commit is contained in:
committed by
Tim Ledbetter
parent
629cd3c42a
commit
b2db07f002
Notes:
github-actions[bot]
2025-04-18 11:11:19 +00:00
Author: https://github.com/skyz1 Commit: https://github.com/LadybirdBrowser/ladybird/commit/b2db07f002d Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4220 Reviewed-by: https://github.com/tcl3 ✅
@@ -80,6 +80,9 @@ public:
|
||||
virtual bool has_activation_behavior() const override;
|
||||
virtual void activation_behavior(DOM::Event const&) override;
|
||||
|
||||
String command() const;
|
||||
WebIDL::ExceptionOr<void> set_command(String const& command);
|
||||
|
||||
private:
|
||||
virtual void visit_edges(Visitor&) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user