
The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
29 lines
1,010 B
Text
29 lines
1,010 B
Text
#import <HTML/HTMLElement.idl>
|
|
#import <DOM/Document.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
|
|
[Exposed=Window]
|
|
interface HTMLIFrameElement : HTMLElement {
|
|
|
|
[Reflect] attribute DOMString src;
|
|
[Reflect] attribute DOMString srcdoc;
|
|
[Reflect] attribute DOMString name;
|
|
[Reflect] attribute DOMString allow;
|
|
[Reflect] attribute DOMString width;
|
|
[Reflect] attribute DOMString height;
|
|
[Reflect=allowfullscreen] attribute boolean allowFullscreen;
|
|
|
|
readonly attribute Document? contentDocument;
|
|
|
|
// FIXME: Should return a WindowProxy?
|
|
readonly attribute Window? contentWindow;
|
|
|
|
[Reflect] attribute DOMString align;
|
|
[Reflect] attribute DOMString scrolling;
|
|
[Reflect=frameborder] attribute DOMString frameBorder;
|
|
|
|
[LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
|
|
[LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
|
|
|
|
Document? getSVGDocument();
|
|
};
|