mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 03:29:49 +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
|
@ -0,0 +1,21 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 16 tests
|
||||
|
||||
16 Pass
|
||||
Pass invoker should reflect properly
|
||||
Pass invoker should reflect show-modal properly
|
||||
Pass invoker should reflect toggle-popover properly
|
||||
Pass invoker should reflect hide-popover properly
|
||||
Pass invoker should reflect show-popover properly
|
||||
Pass invoker should reflect close properly
|
||||
Pass invoker should reflect --custom properly
|
||||
Pass invoker should reflect odd cased sHoW-MoDaL properly - as show-modal
|
||||
Pass invoker should reflect odd cased tOgGlE-pOpOvEr properly - as toggle-popover
|
||||
Pass invoker should reflect odd cased hIdE-pOpOvEr properly - as hide-popover
|
||||
Pass invoker should reflect odd cased sHoW-pOpOvEr properly - as show-popover
|
||||
Pass invoker should reflect odd cased ClOsE properly - as close
|
||||
Pass invoker should reflect odd cased --cUsToM properly - as --cUsToM
|
||||
Pass invoker should reflect the invalid value "invalid" as the empty string
|
||||
Pass invoker should reflect the invalid value "show-invalid" as the empty string
|
||||
Pass invoker should reflect the invalid value "foo-bar" as the empty string
|
Loading…
Add table
Add a link
Reference in a new issue