1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:18:11 +00:00

LibWeb: Implement HTMLFormControlsCollection

This collection is used in the form element for when element lookup
yields multiple elements.
This commit is contained in:
Shannon Booth 2023-08-20 14:41:51 +12:00 committed by Andreas Kling
parent daefe744ba
commit 27dd2a40ad
6 changed files with 118 additions and 1 deletions

View file

@ -0,0 +1,5 @@
// https://html.spec.whatwg.org/multipage/common-dom-interfaces.html#htmlformcontrolscollection
[Exposed=Window, UseNewAKString]
interface HTMLFormControlsCollection : HTMLCollection {
[ImplementedAs=named_item_or_radio_node_list] getter (RadioNodeList or Element)? namedItem(DOMString name); // shadows inherited namedItem()
};