"Fossies" - the Fresh Open Source Software Archive

Member "firefox-69.0.1/dom/webidl/DocumentOrShadowRoot.webidl" (17 Sep 2019, 1377 Bytes) of package /linux/www/firefox-69.0.1.source.tar.xz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "DocumentOrShadowRoot.webidl": 60.7.2_vs_68.0.

    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://dom.spec.whatwg.org/#documentorshadowroot
    8  * http://w3c.github.io/webcomponents/spec/shadow/#extensions-to-the-documentorshadowroot-mixin
    9  */
   10 
   11 [NoInterfaceObject]
   12 interface DocumentOrShadowRoot {
   13   // Not implemented yet: bug 1430308.
   14   // Selection? getSelection();
   15   Element? elementFromPoint(float x, float y);
   16   sequence<Element> elementsFromPoint(float x, float y);
   17 
   18   // TODO: Avoid making these ChromeOnly, see:
   19   // https://github.com/w3c/csswg-drafts/issues/556
   20   [ChromeOnly]
   21   Node? nodeFromPoint(float x, float y);
   22   [ChromeOnly]
   23   sequence<Node> nodesFromPoint(float x, float y);
   24 
   25   // Not implemented yet: bug 1430307.
   26   // CaretPosition? caretPositionFromPoint (float x, float y);
   27 
   28   readonly attribute Element? activeElement;
   29   readonly attribute StyleSheetList styleSheets;
   30 
   31   readonly attribute Element? pointerLockElement;
   32   [LenientSetter, Func="Document::IsUnprefixedFullscreenEnabled"]
   33   readonly attribute Element? fullscreenElement;
   34   [BinaryName="fullscreenElement"]
   35   readonly attribute Element? mozFullScreenElement;
   36 };