HTMLIFrameElement.idl 972 B

12345678910111213141516171819202122232425262728
  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. readonly attribute WindowProxy? contentWindow;
  15. [Reflect] attribute DOMString align;
  16. [Reflect] attribute DOMString scrolling;
  17. [Reflect=frameborder] attribute DOMString frameBorder;
  18. [LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
  19. [LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
  20. Document? getSVGDocument();
  21. };