mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-22 17:31:58 -05:00
df8eec7786
Also mark USVString attributes as containing a URL, where applicable. (cherry picked from commit 1369fc5069598644842defabbfbf3d30d2f3e647)
34 lines
1.5 KiB
Text
34 lines
1.5 KiB
Text
#import <HTML/HTMLElement.idl>
|
|
#import <HTML/Scripting/Fetching.idl>
|
|
#import <DOM/Document.idl>
|
|
|
|
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
|
|
[Exposed=Window]
|
|
interface HTMLIFrameElement : HTMLElement {
|
|
|
|
[HTMLConstructor] constructor();
|
|
|
|
[CEReactions, Reflect, URL] attribute USVString src;
|
|
[CEReactions, Reflect] attribute DOMString srcdoc;
|
|
[CEReactions, Reflect] attribute DOMString name;
|
|
[FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
|
|
[CEReactions, Reflect] attribute DOMString allow;
|
|
[CEReactions, Reflect=allowfullscreen] attribute boolean allowFullscreen;
|
|
[CEReactions, Reflect] attribute DOMString width;
|
|
[CEReactions, Reflect] attribute DOMString height;
|
|
[CEReactions, Reflect=referrerpolicy, Enumerated=ReferrerPolicy] attribute DOMString referrerPolicy;
|
|
[CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading;
|
|
readonly attribute Document? contentDocument;
|
|
readonly attribute WindowProxy? contentWindow;
|
|
Document? getSVGDocument();
|
|
|
|
// Obsolete
|
|
[CEReactions, Reflect] attribute DOMString align;
|
|
[CEReactions, Reflect] attribute DOMString scrolling;
|
|
[CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
|
|
[CEReactions, Reflect=longdesc, URL] attribute USVString longDesc;
|
|
|
|
[CEReactions, LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
|
|
[CEReactions, LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
|
|
|
|
};
|