mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 decc071060
			
		
	
	
		decc071060
		
	
	
	
	
		
			
			Ideally we would not create a layout node at all for these elements so that every layout node would always have a paintable associated with it. But for now, to fix the crash, just leave a FIXME and special case this element. Also leave a VERIFY to make it easier to debug this type of crash in the future. Fixes a crash seen on codecov.io for my 'patch' project.
		
			
				
	
	
		
			13 lines
		
	
	
	
		
			325 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			13 lines
		
	
	
	
		
			325 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <table>
 | |
| <colgroup id="my-group">
 | |
| <col width="40">
 | |
| <col></colgroup>
 | |
| <tbody>
 | |
| <script src="include.js"></script>
 | |
| <script>
 | |
|     test(() => {
 | |
|         const element = document.getElementById('my-group');
 | |
|         println(`scroll left = ${element.scrollLeft}`);
 | |
|         println(`scroll top = ${element.scrollTop}`);
 | |
|     });
 | |
| </script>
 |