mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 00:42:44 +00:00 
			
		
		
		
	 67ceba2e6a
			
		
	
	
		67ceba2e6a
		
	
	
	
	
		
			
			The intent is to use these to autogenerate prototype declarations for Window and WorkerGlobalScope classes. And the spec links are just nice to have :^)
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			593 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			593 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <DOM/DocumentFragment.idl>
 | |
| #import <DOM/InnerHTML.idl>
 | |
| 
 | |
| // https://dom.spec.whatwg.org/#shadowroot
 | |
| [Exposed=Window]
 | |
| interface ShadowRoot : DocumentFragment {
 | |
|     // FIXME: mode should return a ShadowRootMode
 | |
|     readonly attribute DOMString mode;
 | |
|     // FIXME: readonly attribute boolean delegatesFocus;
 | |
|     // FIXME: readonly attribute SlotAssignmentMode slotAssignment;
 | |
|     readonly attribute Element host;
 | |
|     // FIXME: attribute EventHandler onslotchange;
 | |
| };
 | |
| 
 | |
| ShadowRoot includes InnerHTML;
 | |
| 
 | |
| enum ShadowRootMode { "open", "closed" };
 | |
| enum SlotAssignmentMode { "manual", "named" };
 |