serenity/Userland/Libraries/LibWeb/HTML/HTMLAllCollection.idl
sideshowbarker 8c9acd4a76 LibWeb: Normalize all WebIDL definition lines to four leading spaces
This change takes all existing WebIDL files in the repo that had
definition lines without four leading spaces, and fixes them so they
have four leading spaces.

(cherry picked from commit 51528ec6779202747cc3b99d3b77772a124a0b47)
2024-11-10 21:19:33 -05:00

12 lines
509 B
Text

#import <DOM/Element.idl>
#import <DOM/HTMLCollection.idl>
[Exposed=Window, LegacyUnenumerableNamedProperties]
interface HTMLAllCollection {
readonly attribute unsigned long length;
getter Element (unsigned long index);
getter (HTMLCollection or Element)? namedItem([FlyString] DOMString name);
(HTMLCollection or Element)? item(optional [FlyString] DOMString nameOrIndex);
// Note: HTMLAllCollection objects have a custom [[Call]] internal method and an [[IsHTMLDDA]] internal slot.
};