1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 19:37:34 +00:00

LibWeb: Make StyleSheetList.item an IDL getter

This commit is contained in:
Luke Wilde 2021-09-29 13:03:09 +01:00 committed by Linus Groh
parent 398435277b
commit 881e9d1341
4 changed files with 16 additions and 2 deletions

View file

@ -1,5 +1,5 @@
[Exposed=Window]
interface StyleSheetList {
// FIXME: item() should be a WebIDL "getter"
CSSStyleSheet? item(unsigned long index);
getter CSSStyleSheet? item(unsigned long index);
readonly attribute unsigned long length;
};