mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 11:32:43 +00:00 
			
		
		
		
	 c02820759b
			
		
	
	
		c02820759b
		
	
	
	
	
		
			
			Before this change we were ignoring nested paintables inside inline paintable during hit-testing, but now we recurse into subtree. Fixes https://github.com/SerenityOS/serenity/issues/22927
		
			
				
	
	
		
			15 lines
		
	
	
	
		
			431 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
	
		
			431 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <script src="../include.js"></script>
 | |
| <body>
 | |
|     <span id="outer">
 | |
|         <span id="inner">
 | |
|             <span id="name">lang</span>
 | |
|             <span id="value">"en"</span>
 | |
|         </span>
 | |
|     </span>
 | |
|     <script type="text/javascript">
 | |
|         test(() => {
 | |
|             printElement(internals.hitTest(10, 10).node.parentNode);
 | |
|             printElement(internals.hitTest(50, 10).node.parentNode);
 | |
|         });
 | |
|     </script>
 | |
| </body>
 |