1
Fork 0
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:
Shannon Booth 2023-08-19 13:58:54 +12:00 committed by Andreas Kling
parent 27dd2a40ad
commit 9cf5b67162
5 changed files with 39 additions and 7 deletions

View file

@ -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;