diff options
author | Luke Wilde <lukew@serenityos.org> | 2021-09-26 15:14:37 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-09-26 18:59:56 +0200 |
commit | 37347cbcb64e20300155df4168412f58f33f07c6 (patch) | |
tree | a6a9196373a9a4dc8626f4621a56d198e1664a47 /Userland/Libraries/LibWeb/DOM/HTMLCollection.idl | |
parent | 41ae0c021690326ac8be278174803cb5d3fc3dfc (diff) | |
download | serenity-37347cbcb64e20300155df4168412f58f33f07c6.zip |
LibWeb: Convert HTMLCollection to use IDL special operations
Diffstat (limited to 'Userland/Libraries/LibWeb/DOM/HTMLCollection.idl')
-rw-r--r-- | Userland/Libraries/LibWeb/DOM/HTMLCollection.idl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Libraries/LibWeb/DOM/HTMLCollection.idl b/Userland/Libraries/LibWeb/DOM/HTMLCollection.idl index 73bcf070f1..ab641f6bf6 100644 --- a/Userland/Libraries/LibWeb/DOM/HTMLCollection.idl +++ b/Userland/Libraries/LibWeb/DOM/HTMLCollection.idl @@ -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); }; |