tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

CSSImportRule.webidl (1008B)


      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 */
      9 
     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;
     21 };