mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-09 12:42:54 +00:00
LibWeb/HTML: Add the commandForElement attribute to the button element
This commit adds the commandForElement attribute to the button element. Executing commands is not implemented yet.
This commit is contained in:
parent
b2db07f002
commit
ffe0b05abd
Notes:
github-actions[bot]
2025-04-18 11:11:13 +00:00
Author: https://github.com/skyz1
Commit: ffe0b05abd
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4220
Reviewed-by: https://github.com/tcl3 ✅
6 changed files with 144 additions and 3 deletions
|
@ -16,6 +16,7 @@ interface HTMLButtonElement : HTMLElement {
|
|||
[HTMLConstructor] constructor();
|
||||
|
||||
[CEReactions] attribute DOMString command;
|
||||
[CEReactions, Reflect=commandfor] attribute Element? commandForElement;
|
||||
[CEReactions, Reflect] attribute boolean disabled;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
[CEReactions] attribute USVString formAction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue