mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-29 13:42:37 +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 :^)
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			534 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			534 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // https://drafts.fxtf.org/geometry/#domrectreadonly
 | |
| [Exposed=(Window, Worker), Serializable]
 | |
| interface DOMRectReadOnly {
 | |
| 
 | |
|     constructor(optional double x = 0, optional double y = 0, optional double width = 0, optional double height = 0);
 | |
| 
 | |
|     readonly attribute double x;
 | |
|     readonly attribute double y;
 | |
|     readonly attribute double width;
 | |
|     readonly attribute double height;
 | |
| 
 | |
|     readonly attribute double top;
 | |
|     readonly attribute double right;
 | |
|     readonly attribute double bottom;
 | |
|     readonly attribute double left;
 | |
| 
 | |
| };
 |