mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 22:22:45 +00:00 
			
		
		
		
	 7115446995
			
		
	
	
		7115446995
		
	
	
	
	
		
			
			Now that we have a way to resolve calc() lengths without a layout node, we can finally support calc() values in font-size. This wasn't possible before because font-related properties have to be resolved eagerly in StyleComputer due to font-relative CSS length units depending on the computed font being known.
		
			
				
	
	
		
			3 lines
		
	
	
		
			No EOL
		
	
	
		
			77 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			3 lines
		
	
	
		
			No EOL
		
	
	
		
			77 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html><style>
 | |
| body { font-size: calc(100px); }
 | |
| </style>Hello friends |