Bug 1634779 - pt 2. Partially revert Bug 1603006 r=kmag
[gecko.git] / dom / webidl / StyleSheetApplicableStateChangeEvent.webidl
blob82714bad009086d94084e93563690f478c3a1bac
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  */
7 [ChromeOnly,
8  Exposed=Window]
9 interface StyleSheetApplicableStateChangeEvent : Event
11   constructor(DOMString type,
12               optional StyleSheetApplicableStateChangeEventInit eventInitDict = {});
14   readonly attribute CSSStyleSheet? stylesheet;
15   readonly attribute boolean applicable;
18 dictionary StyleSheetApplicableStateChangeEventInit : EventInit
20   CSSStyleSheet? stylesheet = null;
21   boolean applicable = false;