blob: 49f8af9ac6871e88e892940e287d89744d031e68 [file] [log] [blame]
// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
] interface DocumentOrShadowRoot {
// Selection API
Selection? getSelection();
// CSSOM View Module
// TODO(foolip): The x and y arguments should be of type double.
Element? elementFromPoint(long x, long y);
sequence<Element> elementsFromPoint(long x, long y);
readonly attribute Element? activeElement;
[SameObject] readonly attribute StyleSheetList styleSheets;
// PointerLock API
readonly attribute Element? pointerLockElement;
// Fullscreen API
[RuntimeEnabled=FullscreenUnprefixed] readonly attribute Element? fullscreenElement;