Files
sousa-gecko/testing/web-platform/tests/interfaces/fullscreen.idl
T
github-actions[bot] 5bd6f4e5eb Bug 2039306 [wpt PR 59850] - Sync interfaces/ with @webref/idl 3.78.0, a=testonly
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
2026-05-15 21:08:59 +00:00

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;
};