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

LibWeb: Convert HTMLCollection to use IDL special operations

This commit is contained in:
Luke Wilde 2021-09-26 15:14:37 +01:00 committed by Andreas Kling
parent 41ae0c0216
commit 37347cbcb6
6 changed files with 72 additions and 42 deletions

View file

@ -1,8 +1,8 @@
[CustomGet]
[Exposed=Window, LegacyUnenumerableNamedProperties]
interface HTMLCollection {
readonly attribute unsigned long length;
Element? item(unsigned long index);
Element? namedItem(DOMString name);
getter Element? item(unsigned long index);
getter Element? namedItem(DOMString name);
};