LibWeb: Implement HTMLIFrameElement.loading

This commit is contained in:
Jamie Mansfield
2024-05-23 22:54:07 +01:00
committed by Andreas Kling
parent 9ee061ea14
commit 600daea544
3 changed files with 25 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
#import <HTML/HTMLElement.idl>
#import <HTML/Scripting/Fetching.idl>
#import <DOM/Document.idl>
// https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
@@ -16,7 +17,7 @@ interface HTMLIFrameElement : HTMLElement {
[CEReactions, Reflect] attribute DOMString width;
[CEReactions, Reflect] attribute DOMString height;
[FIXME, CEReactions] attribute DOMString referrerPolicy;
[FIXME, CEReactions] attribute DOMString loading;
[CEReactions, Enumerated=LazyLoadingAttribute, Reflect] attribute DOMString loading;
readonly attribute Document? contentDocument;
readonly attribute WindowProxy? contentWindow;
Document? getSVGDocument();