Automatic update from web-platform-tests Sync interfaces/ with @webref/idl 3.78.0 (#59850) Co-authored-by: wpt-pr-bot <wpt-pr-bot@users.noreply.github.com> -- wpt-commits: 7dd8d12def366cc1a85ee6ae3b066622ba73396f wpt-pr: 59850
42 lines
1.1 KiB
Plaintext
42 lines
1.1 KiB
Plaintext
// GENERATED CONTENT - DO NOT EDIT
|
|
// Content was automatically extracted by Reffy into webref
|
|
// (https://github.com/w3c/webref)
|
|
// Source: Fullscreen API Standard (https://fullscreen.spec.whatwg.org/)
|
|
|
|
enum FullscreenNavigationUI {
|
|
"auto",
|
|
"show",
|
|
"hide"
|
|
};
|
|
|
|
enum FullscreenKeyboardLock {
|
|
"browser",
|
|
"none"
|
|
};
|
|
|
|
dictionary FullscreenOptions {
|
|
FullscreenKeyboardLock keyboardLock = "none";
|
|
FullscreenNavigationUI navigationUI = "auto";
|
|
};
|
|
|
|
partial interface Element {
|
|
Promise<undefined> requestFullscreen(optional FullscreenOptions options = {});
|
|
|
|
attribute EventHandler onfullscreenchange;
|
|
attribute EventHandler onfullscreenerror;
|
|
};
|
|
|
|
partial interface Document {
|
|
[LegacyLenientSetter] readonly attribute boolean fullscreenEnabled;
|
|
[LegacyLenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
|
|
|
|
Promise<undefined> exitFullscreen();
|
|
|
|
attribute EventHandler onfullscreenchange;
|
|
attribute EventHandler onfullscreenerror;
|
|
};
|
|
|
|
partial interface mixin DocumentOrShadowRoot {
|
|
[LegacyLenientSetter] readonly attribute Element? fullscreenElement;
|
|
};
|