HTMLIFrameElement.idl 1.1 KB

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