blob: f637e1a98b55d4d531ae37481e7957695d38306a [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 mixin DocumentOrShadowRoot {
// Selection API
[Affects=Nothing] Selection? getSelection();
// CSSOM View Module
Element? elementFromPoint(double x, double y);
sequence<Element> elementsFromPoint(double x, double y);
[Affects=Nothing] readonly attribute Element? activeElement;
[SameObject] readonly attribute StyleSheetList styleSheets;
// PointerLock API
readonly attribute Element? pointerLockElement;
// Fullscreen API
[LenientSetter] readonly attribute Element? fullscreenElement;
[MeasureAs=AdoptedStyleSheets, RaisesException=Setter] attribute FrozenArray<CSSStyleSheet> adoptedStyleSheets;