CSSMediaRule.webidl (870B)
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 // https://drafts.csswg.org/cssom/#the-cssmediarule-interface and 12 // https://drafts.csswg.org/css-conditional/#the-cssmediarule-interface 13 // except they disagree with each other. We're taking the inheritance from 14 // css-conditional and the PutForwards behavior from cssom. 15 [Exposed=Window] 16 interface CSSMediaRule : CSSConditionRule { 17 [SameObject, PutForwards=mediaText] readonly attribute MediaList media; 18 };