mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:32: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 :^)
		
			
				
	
	
		
			25 lines
		
	
	
	
		
			848 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
	
		
			848 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| // https://drafts.fxtf.org/geometry/#dompointreadonly
 | |
| [Exposed=(Window,Worker), Serializable]
 | |
| interface DOMPointReadOnly {
 | |
| 
 | |
|     constructor(optional unrestricted double x = 0, optional unrestricted double y = 0,
 | |
|                 optional unrestricted double z = 0, optional unrestricted double w = 1);
 | |
| 
 | |
|     [NewObject] static DOMPointReadOnly fromPoint(optional DOMPointInit other = {});
 | |
| 
 | |
|     readonly attribute unrestricted double x;
 | |
|     readonly attribute unrestricted double y;
 | |
|     readonly attribute unrestricted double z;
 | |
|     readonly attribute unrestricted double w;
 | |
| 
 | |
|     // FIXME: DOMPoint matrixTransform(optional DOMMatrixInit matrix = {});
 | |
| 
 | |
|     // FIXME: [Default] object toJSON();
 | |
| };
 | |
| 
 | |
| dictionary DOMPointInit {
 | |
|     unrestricted double x = 0;
 | |
|     unrestricted double y = 0;
 | |
|     unrestricted double z = 0;
 | |
|     unrestricted double w = 1;
 | |
| };
 |