https://github.com/web-platform-tests/wpt
Raw File
Tip revision: de6dd7d3bda8de4c5a09703b3b976b296af46ee5 authored by Luke Bjerring on 28 March 2018, 20:27:32 UTC
Use includes instead of find
Tip revision: de6dd7d
fullscreen.idl
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;
};
back to top