#import <DOM/EventHandler.idl>

// https://fullscreen.spec.whatwg.org/#ref-for-element
partial interface Element {
    Promise<undefined> requestFullscreen();

    attribute EventHandler onfullscreenchange;
    attribute EventHandler onfullscreenerror;
};
