Bug 1734445 - Make StyleSheetList idl exactly match the spec. r=webidl,smaug

I don't think this can be observed in any way since all our StyleSheet
objects also implement CSSStyleSheet.

Differential Revision: https://phabricator.services.mozilla.com/D127694
This commit is contained in:
Emilio Cobos Álvarez 2021-10-07 00:26:31 +00:00
Родитель e8b6ea1147
Коммит 654245b042
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -2,8 +2,9 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
// https://drafts.csswg.org/cssom/#stylesheetlist
[Exposed=Window]
interface StyleSheetList {
getter CSSStyleSheet? item(unsigned long index);
readonly attribute unsigned long length;
getter StyleSheet? item(unsigned long index);
};