mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-11-04 07:10:57 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			28 lines
		
	
	
	
		
			811 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			28 lines
		
	
	
	
		
			811 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);
 | 
						|
 | 
						|
    [NewObject] static DOMRectReadOnly fromRect(optional DOMRectInit other = {});
 | 
						|
 | 
						|
    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;
 | 
						|
 | 
						|
    [Default] object toJSON();
 | 
						|
 | 
						|
};
 | 
						|
 | 
						|
dictionary DOMRectInit {
 | 
						|
    unrestricted double x = 0;
 | 
						|
    unrestricted double y = 0;
 | 
						|
    unrestricted double width = 0;
 | 
						|
    unrestricted double height = 0;
 | 
						|
};
 |