| 
									
										
										
										
											2023-06-17 16:40:35 +02:00
										 |  |  | #import <DOM/EventTarget.idl> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-25 17:27:19 +02:00
										 |  |  | // https://drafts.csswg.org/cssom-view/#the-visualviewport-interface | 
					
						
							| 
									
										
										
										
											2023-06-17 16:40:35 +02:00
										 |  |  | [Exposed=Window] | 
					
						
							|  |  |  | interface VisualViewport : EventTarget { | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     readonly attribute double offsetLeft; | 
					
						
							|  |  |  |     readonly attribute double offsetTop; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     readonly attribute double pageLeft; | 
					
						
							|  |  |  |     readonly attribute double pageTop; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     readonly attribute double width; | 
					
						
							|  |  |  |     readonly attribute double height; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     readonly attribute double scale; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     attribute EventHandler onresize; | 
					
						
							|  |  |  |     attribute EventHandler onscroll; | 
					
						
							|  |  |  |     attribute EventHandler onscrollend; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | }; |