mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:12:43 +00:00 
			
		
		
		
	 cfe9577b48
			
		
	
	
		cfe9577b48
		
	
	
	
	
		
			
			(Or rather, bring offsetLeft and offsetTop closer to spec, and implement the previously-missing offsetParent) This makes mouse inputs on https://nerget.com/fluidSim/ work properly.
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			322 B
		
	
	
	
		
			Text
		
	
	
	
	
	
|    
 | |
| nodeName: CANVAS
 | |
| offsetTop: 0
 | |
| offsetLeft: 0
 | |
| offsetParent: [object HTMLTableCellElement]
 | |
| 
 | |
| nodeName: TD
 | |
| offsetTop: 2
 | |
| offsetLeft: 2
 | |
| offsetParent: [object HTMLTableElement]
 | |
| 
 | |
| nodeName: TABLE
 | |
| offsetTop: 100
 | |
| offsetLeft: 50
 | |
| offsetParent: [object HTMLBodyElement]
 | |
| 
 | |
| nodeName: BODY
 | |
| offsetTop: 0
 | |
| offsetLeft: 0
 | |
| offsetParent: null
 | |
| 
 |