mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 04:07:51 +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
|
@ -0,0 +1,16 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 11 tests
|
||||
|
||||
11 Pass
|
||||
Pass commandForElement reflects invokee HTML element
|
||||
Pass commandForElement reflects set value
|
||||
Pass commandForElement reflects set value across shadow root into light dom
|
||||
Pass commandForElement does not reflect set value inside shadowroot
|
||||
Pass commandForElement throws error on assignment of non Element
|
||||
Pass command reflects '' when attribute empty, setAttribute version
|
||||
Pass command reflects correctly for invalid
|
||||
Pass command reflects '' when attribute empty, IDL version
|
||||
Pass command reflects correctly for invalid when array
|
||||
Pass command reflects '' when attribute set to []
|
||||
Pass command reflects correctly for invalid when object
|
|
@ -1,52 +1,67 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 1111 tests
|
||||
Found 1141 tests
|
||||
|
||||
1080 Pass
|
||||
1110 Pass
|
||||
31 Fail
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to button with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to button with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to button with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to button with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to input with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to input with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to input with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to input with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to meter with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to meter with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to meter with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to meter with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to output with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to output with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to output with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to output with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to progress with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to progress with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to progress with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to progress with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to select with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to select with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to select with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to select with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to textarea with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to textarea with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to textarea with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to textarea with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to div with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to div with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to div with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to div with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to object with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to object with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to object with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to object with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to label with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to label with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to label with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to label with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to fieldset with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to fieldset with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to fieldset with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to fieldset with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to legend with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to legend with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to legend with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to legend with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to option with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to option with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to option with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to option with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to datalist with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to datalist with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to datalist with reference target
|
||||
Pass button.form has reflection behavior IsNull when pointing to datalist with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to form with reference target
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to form with reference target
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to form with reference target
|
||||
Fail button.form has reflection behavior ReflectsHost when pointing to form with reference target
|
||||
Pass input.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to button with reference target
|
||||
|
@ -470,48 +485,63 @@ Pass form.ariaActiveDescendantElement has reflection behavior ReflectsHost when
|
|||
Pass form.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to datalist with reference target
|
||||
Pass form.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to form with reference target
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to button with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to button with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to button with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to button with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to input with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to input with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to input with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to input with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to meter with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to meter with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to meter with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to meter with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to output with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to output with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to output with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to output with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to progress with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to progress with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to progress with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to progress with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to select with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to select with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to select with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to select with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to textarea with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to textarea with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to textarea with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to textarea with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to div with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to div with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to div with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to div with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to object with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to object with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to object with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to object with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to label with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to label with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to label with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to label with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to fieldset with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to fieldset with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to fieldset with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to fieldset with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to legend with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to legend with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to legend with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to legend with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to option with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to option with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to option with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to option with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to datalist with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to datalist with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to datalist with reference target via options
|
||||
Pass button.form has reflection behavior IsNull when pointing to datalist with reference target via options
|
||||
Pass button.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to form with reference target via options
|
||||
Pass button.commandForElement has reflection behavior ReflectsHost when pointing to form with reference target via options
|
||||
Pass button.popoverTargetElement has reflection behavior ReflectsHost when pointing to form with reference target via options
|
||||
Fail button.form has reflection behavior ReflectsHost when pointing to form with reference target via options
|
||||
Pass input.ariaActiveDescendantElement has reflection behavior ReflectsHost when pointing to button with reference target via options
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue