HTMLIFrameElement.idl 1010 B

1234567891011121314151617181920212223242526272829
  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. [Reflect] attribute DOMString src;
  7. [Reflect] attribute DOMString srcdoc;
  8. [Reflect] attribute DOMString name;
  9. [Reflect] attribute DOMString allow;
  10. [Reflect] attribute DOMString width;
  11. [Reflect] attribute DOMString height;
  12. [Reflect=allowfullscreen] attribute boolean allowFullscreen;
  13. readonly attribute Document? contentDocument;
  14. // FIXME: Should return a WindowProxy?
  15. readonly attribute Window? contentWindow;
  16. [Reflect] attribute DOMString align;
  17. [Reflect] attribute DOMString scrolling;
  18. [Reflect=frameborder] attribute DOMString frameBorder;
  19. [LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
  20. [LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
  21. Document? getSVGDocument();
  22. };