gecko-dev/testing/web-platform/tests/interfaces/fullscreen.idl
autofoolip ed88df256c Bug 1504451 [wpt PR 13884] - Update interfaces/fullscreen.idl, a=testonly
Automatic update from web-platform-testsUpdate interfaces/fullscreen.idl (#13884)

Source: https://github.com/tidoust/reffy-reports/blob/f2a2780/whatwg/idl/fullscreen.idl
Build: https://travis-ci.org/tidoust/reffy-reports/builds/450138647
--

wpt-commits: 6429cdc25b2bc08e761427e0fdba0de6c81511c2
wpt-pr: 13884
2018-11-10 09:03:14 +00:00

35 lines
981 B
Text

// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into reffy-reports
// (https://github.com/tidoust/reffy-reports)
// Source: Fullscreen API Standard (https://fullscreen.spec.whatwg.org/)
enum FullscreenNavigationUI {
"auto",
"show",
"hide"
};
dictionary FullscreenOptions {
FullscreenNavigationUI navigationUI = "auto";
};
partial interface Element {
Promise<void> requestFullscreen(optional FullscreenOptions options);
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 mixin DocumentOrShadowRoot {
[LenientSetter] readonly attribute Element? fullscreenElement;
};