mirror of
https://github.com/servo/servo.git
synced 2025-06-30 20:13:39 +01:00
25 lines
749 B
Text
25 lines
749 B
Text
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content of this file was automatically extracted from the
|
|
// "Fullscreen API Standard" spec.
|
|
// See: https://fullscreen.spec.whatwg.org/
|
|
|
|
partial interface Element {
|
|
Promise<void> requestFullscreen();
|
|
|
|
attribute EventHandler onfullscreenchange;
|
|
attribute EventHandler onfullscreenerror;
|
|
};
|
|
|
|
partial interface Document {
|
|
[LenientSetter] readonly attribute boolean fullscreenEnabled;
|
|
[LenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
|
|
|
|
Promise<void> exitFullscreen();
|
|
|
|
attribute EventHandler onfullscreenchange;
|
|
attribute EventHandler onfullscreenerror;
|
|
};
|
|
|
|
partial interface DocumentOrShadowRoot {
|
|
[LenientSetter] readonly attribute Element? fullscreenElement;
|
|
};
|