mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-10 21:22:53 +00: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:
parent
629cd3c42a
commit
b2db07f002
Notes:
github-actions[bot]
2025-04-18 11:11:19 +00:00
Author: https://github.com/skyz1
Commit: b2db07f002
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4220
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 140 additions and 0 deletions
|
@ -15,6 +15,7 @@ enum ButtonTypeState {
|
|||
interface HTMLButtonElement : HTMLElement {
|
||||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions] attribute DOMString command;
|
||||
[CEReactions, Reflect] attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
[CEReactions] attribute USVString formAction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue