diff options
author | Andreas Kling <kling@serenityos.org> | 2022-02-25 21:19:06 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-25 21:19:06 +0100 |
commit | fa17776a5108f72fb018bd4472f1c206ab3c7d6b (patch) | |
tree | 26c4ebbb0d734e2b3922d6a83e9602b432d646db /Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl | |
parent | fbee0490a3db6ed9a87c2f8cc2e5565f1de1fc1b (diff) | |
download | serenity-fa17776a5108f72fb018bd4472f1c206ab3c7d6b.zip |
LibWeb: Support HTMLFormElement.elements and HTMLFormElement.length
Note that we implement .elements as a HTMLCollection for now, instead of
the correct HTMLFormControlsCollection subclass. This covers most
use-cases already.
1% progression on ACID3. :^)
Diffstat (limited to 'Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl index b29a0f29a0..c2a443c534 100644 --- a/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl +++ b/Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl @@ -1,3 +1,4 @@ +#import <DOM/HTMLCollection.idl> #import <HTML/HTMLElement.idl> interface HTMLFormElement : HTMLElement { @@ -9,4 +10,9 @@ interface HTMLFormElement : HTMLElement { undefined submit(); + // FIXME: Should be [SameObject] and a HTMLFormControlsCollection + readonly attribute HTMLCollection elements; + + readonly attribute unsigned long length; + }; |