mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-14 10:56:35 +02:00
I noticed some of these were running behind the upstream spec. (cherry picked from commit d5fd29adb79641830835e2efd9541de08d0ad6fc)
10 lines
305 B
Plaintext
10 lines
305 B
Plaintext
#import <DOM/Element.idl>
|
|
|
|
// https://dom.spec.whatwg.org/#interface-htmlcollection
|
|
[Exposed=Window, LegacyUnenumerableNamedProperties]
|
|
interface HTMLCollection {
|
|
readonly attribute unsigned long length;
|
|
getter Element? item(unsigned long index);
|
|
getter Element? namedItem(DOMString name);
|
|
};
|