mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-03 16:16:43 +00:00
LibWeb: Stub out several methods for ElementInternals
This begins implementation on form-associated custom elements. This fixes a few WPT tests which I'm importing. Co-authored-by: Sam Atkins <sam@ladybird.org>
This commit is contained in:
parent
7c4fd9f624
commit
85842c1739
Notes:
github-actions[bot]
2025-05-21 14:29:13 +00:00
Author: https://github.com/AtkinsSJ
Commit: 85842c1739
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4813
Reviewed-by: https://github.com/shannonbooth
Reviewed-by: https://github.com/tcl3
9 changed files with 300 additions and 10 deletions
|
@ -7,21 +7,21 @@ interface ElementInternals {
|
|||
readonly attribute ShadowRoot? shadowRoot;
|
||||
|
||||
// Form-associated custom elements
|
||||
[FIXME] undefined setFormValue((File or USVString or FormData)? value,
|
||||
undefined setFormValue((File or USVString or FormData)? value,
|
||||
optional (File or USVString or FormData)? state);
|
||||
|
||||
[FIXME] readonly attribute HTMLFormElement? form;
|
||||
readonly attribute HTMLFormElement? form;
|
||||
|
||||
[FIXME] undefined setValidity(optional ValidityStateFlags flags = {},
|
||||
undefined setValidity(optional ValidityStateFlags flags = {},
|
||||
optional DOMString message,
|
||||
optional HTMLElement anchor);
|
||||
[FIXME] readonly attribute boolean willValidate;
|
||||
[FIXME] readonly attribute ValidityState validity;
|
||||
[FIXME] readonly attribute DOMString validationMessage;
|
||||
[FIXME] boolean checkValidity();
|
||||
[FIXME] boolean reportValidity();
|
||||
readonly attribute boolean willValidate;
|
||||
readonly attribute ValidityState validity;
|
||||
readonly attribute DOMString validationMessage;
|
||||
boolean checkValidity();
|
||||
boolean reportValidity();
|
||||
|
||||
[FIXME] readonly attribute NodeList labels;
|
||||
readonly attribute NodeList labels;
|
||||
|
||||
// Custom state pseudo-class
|
||||
[FIXME, SameObject] readonly attribute CustomStateSet states;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue