mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:22:43 +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 :^)
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			420 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Geometry/DOMRectReadOnly.idl>
 | |
| 
 | |
| // https://drafts.fxtf.org/geometry/#dompoint
 | |
| [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGRect]
 | |
| interface DOMRect : DOMRectReadOnly {
 | |
| 
 | |
|     constructor(optional double x = 0, optional double y = 0, optional double width = 0, optional double height = 0);
 | |
| 
 | |
|     attribute double x;
 | |
|     attribute double y;
 | |
|     attribute double width;
 | |
|     attribute double height;
 | |
| 
 | |
| };
 |