mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
20 lines
573 B
Text
20 lines
573 B
Text
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;
|
|
};
|