HTMLIFrameElement.idl 1.5 KB

12345678910111213141516171819202122232425262728293031323334
  1. #import <HTML/HTMLElement.idl>
  2. #import <HTML/Scripting/Fetching.idl>
  3. #import <DOM/Document.idl>
  4. // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
  5. [Exposed=Window]
  6. interface HTMLIFrameElement : HTMLElement {
  7. [HTMLConstructor] constructor();
  8. [CEReactions, Reflect, URL] attribute USVString src;
  9. [CEReactions, Reflect] attribute DOMString srcdoc;
  10. [CEReactions, Reflect] attribute DOMString name;
  11. [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
  12. [CEReactions, Reflect] attribute DOMString allow;
  13. [CEReactions, Reflect=allowfullscreen] attribute boolean allowFullscreen;
  14. [CEReactions, Reflect] attribute DOMString width;
  15. [CEReactions, Reflect] attribute DOMString height;
  16. [CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
  17. [CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading;
  18. readonly attribute Document? contentDocument;
  19. readonly attribute WindowProxy? contentWindow;
  20. Document? getSVGDocument();
  21. // Obsolete
  22. [CEReactions, Reflect] attribute DOMString align;
  23. [CEReactions, Reflect] attribute DOMString scrolling;
  24. [CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
  25. [CEReactions, Reflect=longdesc, URL] attribute USVString longDesc;
  26. [CEReactions, LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
  27. [CEReactions, LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
  28. };