Bug 1885602 - Part 5: Implement navigating to the SUMO help topic from the menu heade...
[gecko.git] / dom / webidl / CSSImportRule.webidl
blob965da60d1c0c110dfa7832f76b0c97b00cb09a3e
1 /* -*- Mode: IDL; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
2 /* This Source Code Form is subject to the terms of the Mozilla Public
3  * License, v. 2.0. If a copy of the MPL was not distributed with this file,
4  * You can obtain one at http://mozilla.org/MPL/2.0/.
5  *
6  * The origin of this IDL file is
7  * https://drafts.csswg.org/cssom/#cssimportrule
8  */
10 // https://drafts.csswg.org/cssom/#cssimportrule
11 [Exposed=Window]
12 interface CSSImportRule : CSSRule {
13   readonly attribute DOMString href;
14   // Per spec, the .media is never null, but in our implementation it can
15   // be since stylesheet can be null, and in Stylo, media is derived from
16   // the stylesheet.  See <https://bugzilla.mozilla.org/show_bug.cgi?id=1326509>.
17   [SameObject, PutForwards=mediaText] readonly attribute MediaList? media;
18   [SameObject, BinaryName="styleSheetForBindings"] readonly attribute CSSStyleSheet? styleSheet;
19   readonly attribute UTF8String? layerName;
20   readonly attribute UTF8String? supportsText;