Definition
DOM Standard defines DocumentOrShadowRoot
interface mixin DocumentOrShadowRoot {
readonly attribute CustomElementRegistry? customElementRegistry;
};
This interface mixin is extended in the following specifications:
- Fullscreen API Standard
partial interface mixin DocumentOrShadowRoot { [LegacyLenientSetter] readonly attribute Element? fullscreenElement; }; - HTML Standard
partial interface mixin DocumentOrShadowRoot { readonly attribute Element? activeElement; }; - CSS Object Model (CSSOM) Module Level 1
partial interface mixin DocumentOrShadowRoot { [SameObject] readonly attribute StyleSheetList styleSheets; attribute ObservableArray<CSSStyleSheet> adoptedStyleSheets; }; - Picture-in-Picture
partial interface mixin DocumentOrShadowRoot { readonly attribute Element? pictureInPictureElement; }; - Pointer Lock 2.0
partial interface mixin DocumentOrShadowRoot { readonly attribute Element? pointerLockElement; }; - Web Animations Module Level 1
partial interface mixin DocumentOrShadowRoot { sequence<Animation> getAnimations(); };
Consolidated IDL (across partials)
interface mixin DocumentOrShadowRoot {
readonly attribute CustomElementRegistry? customElementRegistry;
[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
- Fullscreen API Standard refers to
DocumentOrShadowRoot - HTML Standard refers to
DocumentOrShadowRoot - CSS Object Model (CSSOM) Module Level 1 refers to
DocumentOrShadowRoot - Picture-in-Picture refers to
DocumentOrShadowRoot - Pointer Lock 2.0 refers to
DocumentOrShadowRoot - Web Animations Module Level 1 refers to
DocumentOrShadowRoot