tor-browser

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

CSSCustomMediaRule.webidl (755B)


      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/#the-cssmediarule-interface
      8 * https://drafts.csswg.org/css-conditional/#the-cssmediarule-interface
      9 */
     10 
     11 typedef (MediaList or boolean) CustomMediaQuery;
     12 
     13 // https://drafts.csswg.org/mediaqueries-5/#csscustommediarule
     14 [Exposed=Window, Pref="layout.css.custom-media.enabled"]
     15 interface CSSCustomMediaRule : CSSRule {
     16  readonly attribute UTF8String name;
     17  readonly attribute CustomMediaQuery query;
     18 };