mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-26 04:22:07 +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
		
	
	
	
		
			636 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			636 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| #import <Geometry/DOMPointReadOnly.idl>
 | |
| 
 | |
| // https://drafts.fxtf.org/geometry/#dompoint
 | |
| [Exposed=(Window,Worker), Serializable, LegacyWindowAlias=SVGPoint]
 | |
| interface DOMPoint : DOMPointReadOnly {
 | |
| 
 | |
|     constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
 | |
|                 optional unrestricted double z = 0, optional unrestricted double w = 1);
 | |
| 
 | |
|     [NewObject] static DOMPoint fromPoint(optional DOMPointInit other = {});
 | |
| 
 | |
|     inherit attribute unrestricted double x;
 | |
|     inherit attribute unrestricted double y;
 | |
|     inherit attribute unrestricted double z;
 | |
|     inherit attribute unrestricted double w;
 | |
| 
 | |
| };
 |