HTMLIFrameElement.idl 1.4 KB

123456789101112131415161718192021222324252627282930313233
  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. // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
  11. [CEReactions, Reflect] attribute DOMString allow;
  12. [CEReactions, Reflect=allowfullscreen] attribute boolean allowFullscreen;
  13. [CEReactions, Reflect] attribute DOMString width;
  14. [CEReactions, Reflect] attribute DOMString height;
  15. // FIXME: [CEReactions] attribute DOMString referrerPolicy;
  16. // FIXME: [CEReactions] attribute DOMString loading;
  17. readonly attribute Document? contentDocument;
  18. readonly attribute WindowProxy? contentWindow;
  19. Document? getSVGDocument();
  20. // Obsolete
  21. [CEReactions, Reflect] attribute DOMString align;
  22. [CEReactions, Reflect] attribute DOMString scrolling;
  23. [CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
  24. // FIXME: [CEReactions] attribute USVString longDesc;
  25. [CEReactions, LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
  26. [CEReactions, LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
  27. };