mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-24 17:09:43 +00:00 
			
		
		
		
	When the caller of NumericCalculationNode::resolve() does not provide a percentage_basis, it expects the method to return a raw percentage value. Fixes crashing on https://discord.com/login
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			359 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html><script src="../include.js"></script><style>    
 | |
|     body {    
 | |
|       --saturation-factor: 1;  
 | |
|       background: hsl(225, calc(var(--saturation-factor, 1) * 6.3%), 12.5%);  
 | |
|     }    
 | |
| </style><body></body><script>
 | |
| test(() => {
 | |
|     const bodyStyle = window.getComputedStyle(document.body);
 | |
|     println(bodyStyle.backgroundColor);
 | |
| });
 | |
| </script>
 |