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/.
20 dictionary SelectionStateChangedEventInit : EventInit {
21 boolean visible = true;
22 DOMString selectedText = "";
23 DOMRectReadOnly? boundingClientRect = null;
24 sequence<SelectionState> states = [];
27 [Constructor(DOMString type, optional SelectionStateChangedEventInit eventInit),
29 interface SelectionStateChangedEvent : Event {
30 readonly attribute boolean visible;
31 readonly attribute DOMString selectedText;
32 readonly attribute DOMRectReadOnly? boundingClientRect;
33 [Cached, Pure] readonly attribute sequence<SelectionState> states;