mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:28:12 +00:00
LibWeb: Return a HTMLFormControlsCollection from HTMLFormElement element
Instead of a HTMLCollection
This commit is contained in:
parent
27dd2a40ad
commit
9cf5b67162
5 changed files with 39 additions and 7 deletions
|
@ -1,4 +1,4 @@
|
|||
#import <DOM/HTMLCollection.idl>
|
||||
#import <DOM/HTMLFormControlsCollection.idl>
|
||||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
||||
|
@ -20,8 +20,7 @@ interface HTMLFormElement : HTMLElement {
|
|||
boolean checkValidity();
|
||||
boolean reportValidity();
|
||||
|
||||
// FIXME: Should be a HTMLFormControlsCollection
|
||||
[SameObject] readonly attribute HTMLCollection elements;
|
||||
[SameObject] readonly attribute HTMLFormControlsCollection elements;
|
||||
|
||||
readonly attribute unsigned long length;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue