mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:42:43 +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.
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			466 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			466 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x125.179687 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x109.179687 children: inline
 | |
|       line 0 width: 644.628906, height: 109.179687, bottom: 109.179687, baseline: 84.570312
 | |
|         frag 0 from TextNode start: 0, length: 13, rect: [8,8 644.628906x109.179687]
 | |
|           "Hello friends"
 | |
|       TextNode <#text>
 |