mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:42:44 +00:00 
			
		
		
		
	 06eb4a7557
			
		
	
	
		06eb4a7557
		
	
	
	
	
		
			
			If a math function resolves to `<length>` or `<percentage>`, then it will by definition also resolve to `<length-percentage>`. (Same for any other basic types.) Since we were checking `<length-percentage>` first and then bailing if no given properties could accept that, math functions would always fail to match a property that just accepts a non `-percentage` type.
		
			
				
	
	
		
			8 lines
		
	
	
		
			No EOL
		
	
	
		
			151 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			No EOL
		
	
	
		
			151 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
|     div {
 | |
|         width: 100px;
 | |
|         height: 100px;
 | |
|         border: solid black;
 | |
|         border-width: calc(10px);
 | |
|     }
 | |
| </style><div></div> |