WebIDLpedia

DocumentOrShadowRoot interface mixin

Definition

DOM Standard defines DocumentOrShadowRoot



interface mixin DocumentOrShadowRoot {
};

This interface mixin is extended in the following specifications:

Consolidated IDL (across partials)


interface mixin DocumentOrShadowRoot {
  [LegacyLenientSetter] readonly attribute Element? fullscreenElement;
  readonly attribute Element? activeElement;
  [SameObject] readonly attribute StyleSheetList styleSheets;
  attribute ObservableArray<CSSStyleSheet> adoptedStyleSheets;
  readonly attribute Element? pictureInPictureElement;
  readonly attribute Element? pointerLockElement;
    sequence<Animation> getAnimations();
};

Referring IDL interfaces/dictionaries

Referring specifications