mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 20:59:16 +00:00
LibWeb: Implement named and indexed property access for HTMLFormElement
This commit is contained in:
parent
521ed0e911
commit
b5ec520f84
Notes:
sideshowbarker
2024-07-17 06:39:26 +09:00
Author: https://github.com/ADKaster
Commit: b5ec520f84
Pull-request: https://github.com/SerenityOS/serenity/pull/22675
Reviewed-by: https://github.com/shannonbooth ✅
7 changed files with 446 additions and 11 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue