mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-01 20:07:38 +02:00
LibWeb: Implement named and indexed property access for HTMLFormElement
This commit is contained in:
committed by
Andreas Kling
parent
521ed0e911
commit
b5ec520f84
@@ -2,7 +2,7 @@
|
||||
#import <HTML/HTMLElement.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/semantics.html#htmlformelement
|
||||
[Exposed=Window]
|
||||
[Exposed=Window, LegacyOverrideBuiltIns, LegacyUnenumerableNamedProperties]
|
||||
interface HTMLFormElement : HTMLElement {
|
||||
|
||||
[HTMLConstructor] constructor();
|
||||
@@ -21,8 +21,8 @@ interface HTMLFormElement : HTMLElement {
|
||||
|
||||
[SameObject] readonly attribute HTMLFormControlsCollection elements;
|
||||
readonly attribute unsigned long length;
|
||||
// FIXME: getter Element (unsigned long index);
|
||||
// FIXME: getter (RadioNodeList or Element) (DOMString name);
|
||||
getter Element (unsigned long index);
|
||||
getter (RadioNodeList or Element) (DOMString name);
|
||||
|
||||
undefined submit();
|
||||
// FIXME: undefined requestSubmit(optional HTMLElement? submitter = null);
|
||||
|
||||
Reference in New Issue
Block a user