gecko-dev/dom/webidl/StyleSheetList.webidl
Emilio Cobos Álvarez 654245b042 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
2021-10-07 00:26:31 +00:00

11 lines
397 B
Plaintext

/* This Source Code Form is subject to the terms of the Mozilla Public
* 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;
};