mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-27 19:59:03 +00:00
LibWeb: Implement the HTMLInputElement.list
attribute
This returns the `HTMLDataListElement` pointed to by the `list` content attribute.
This commit is contained in:
parent
a37315da87
commit
6178557a07
Notes:
github-actions[bot]
2025-03-09 15:11:49 +00:00
Author: https://github.com/tcl3
Commit: 6178557a07
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3782
7 changed files with 164 additions and 1 deletions
|
@ -0,0 +1,11 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 6 tests
|
||||
|
||||
6 Pass
|
||||
Pass getting .list of input must return the datalist with that id
|
||||
Pass getting .list of input must return null if it has no list attribute
|
||||
Pass getting .list of input must return null if the list attribute is a non-datalist's id
|
||||
Pass getting .list of input must return null if the list attribute is no element's id
|
||||
Pass getting .list of input must return null if the list attribute is used in a non-datalist earlier than a datalist
|
||||
Pass getting .list of input must return the datalist with that id even if a later non-datalist also has the id
|
|
@ -0,0 +1,7 @@
|
|||
Harness status: OK
|
||||
|
||||
Found 2 tests
|
||||
|
||||
2 Pass
|
||||
Pass Input element's list attribute should point to the datalist element.
|
||||
Pass Input element's list attribute should point to the datalist element in Shadow DOM.
|
Loading…
Add table
Add a link
Reference in a new issue