mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:42:44 +00:00 
			
		
		
		
	 ac329d0a18
			
		
	
	
		ac329d0a18
		
	
	
	
	
		
			
			This fixes an issue where contentWindow was not accessible immediately after programmatically creating an iframe element.
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			972 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			972 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <HTML/HTMLElement.idl>
 | |
| #import <DOM/Document.idl>
 | |
| 
 | |
| // https://html.spec.whatwg.org/multipage/iframe-embed-object.html#htmliframeelement
 | |
| [Exposed=Window]
 | |
| interface HTMLIFrameElement : HTMLElement {
 | |
| 
 | |
|     [Reflect] attribute DOMString src;
 | |
|     [Reflect] attribute DOMString srcdoc;
 | |
|     [Reflect] attribute DOMString name;
 | |
|     [Reflect] attribute DOMString allow;
 | |
|     [Reflect] attribute DOMString width;
 | |
|     [Reflect] attribute DOMString height;
 | |
|     [Reflect=allowfullscreen] attribute boolean allowFullscreen;
 | |
| 
 | |
|     readonly attribute Document? contentDocument;
 | |
| 
 | |
|     readonly attribute WindowProxy? contentWindow;
 | |
| 
 | |
|     [Reflect] attribute DOMString align;
 | |
|     [Reflect] attribute DOMString scrolling;
 | |
|     [Reflect=frameborder] attribute DOMString frameBorder;
 | |
| 
 | |
|     [LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
 | |
|     [LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;
 | |
| 
 | |
|     Document? getSVGDocument();
 | |
| };
 |