File's structured serialization should serialize lastModified attribute
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / interfaces / fullscreen.idl
1 partial interface Element {
2   Promise<void> requestFullscreen();
3
4   attribute EventHandler onfullscreenchange;
5   attribute EventHandler onfullscreenerror;
6 };
7
8 partial interface Document {
9   [LenientSetter] readonly attribute boolean fullscreenEnabled;
10   [LenientSetter, Unscopable] readonly attribute boolean fullscreen; // historical
11
12   Promise<void> exitFullscreen();
13
14   attribute EventHandler onfullscreenchange;
15   attribute EventHandler onfullscreenerror;
16 };
17
18 partial interface DocumentOrShadowRoot {
19   [LenientSetter] readonly attribute Element? fullscreenElement;
20 };