Serenity Operating System
1#import <HTML/HTMLElement.idl>
2#import <DOM/Document.idl>
3
4// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
5[Exposed=Window]
6interface HTMLIFrameElement : HTMLElement {
7
8 [Reflect] attribute DOMString src;
9 [Reflect] attribute DOMString srcdoc;
10 [Reflect] attribute DOMString name;
11 [Reflect] attribute DOMString allow;
12 [Reflect] attribute DOMString width;
13 [Reflect] attribute DOMString height;
14 [Reflect=allowfullscreen] attribute boolean allowFullscreen;
15
16 readonly attribute Document? contentDocument;
17
18 readonly attribute WindowProxy? contentWindow;
19
20 [Reflect] attribute DOMString align;
21 [Reflect] attribute DOMString scrolling;
22 [Reflect=frameborder] attribute DOMString frameBorder;
23
24 [LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
25 [LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
26
27 Document? getSVGDocument();
28};