#import <DOM/Document.idl>
#import <HTML/HTMLElement.idl>

// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmlobjectelement
[Exposed=Window]
interface HTMLObjectElement : HTMLElement {

    [CEReactions] attribute DOMString data;
    [Reflect] attribute DOMString type;
    [Reflect] attribute DOMString name;
    [Reflect=usemap] attribute DOMString useMap;
    [Reflect] attribute DOMString width;
    [Reflect] attribute DOMString height;

    readonly attribute Document? contentDocument;

    [Reflect] attribute DOMString align;
    [Reflect] attribute DOMString archive;
    [Reflect] attribute DOMString code;
    [Reflect] attribute boolean declare;
    [Reflect] attribute DOMString standby;
    [Reflect=codetype] attribute DOMString codeType;

    [LegacyNullToEmptyString, Reflect] attribute DOMString border;

    Document? getSVGDocument();
};
