mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-09 09:39:39 +00:00
LibWeb: Convert HTMLCollection to use IDL special operations
This commit is contained in:
parent
41ae0c0216
commit
37347cbcb6
Notes:
sideshowbarker
2024-07-18 03:25:51 +09:00
Author: https://github.com/Lubrsi
Commit: 37347cbcb6
Pull-request: https://github.com/SerenityOS/serenity/pull/10219
6 changed files with 72 additions and 42 deletions
|
@ -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);
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue