mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:02:45 +00:00 
			
		
		
		
	 aee5120078
			
		
	
	
		aee5120078
		
	
	
	
	
		
			
			With this change "max-width: max-content" is treated as "none" when the available width is also "max-content". This fix prevents a stack overflow in the grid track size maximization algorithm by avoiding recursive calls to calculate_max_width() when determining the maximum grid container size.
		
			
				
	
	
		
			14 lines
		
	
	
	
		
			863 B
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
	
		
			863 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x116 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x100 children: not-inline
 | |
|       Box <div.grid> at (8,8) content-size 100x100 [GFC] children: not-inline
 | |
|         BlockContainer <div.item> at (8,8) content-size 100x100 [BFC] children: not-inline
 | |
|       BlockContainer <(anonymous)> at (8,108) content-size 784x0 children: inline
 | |
|         TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x116]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [8,8 784x100]
 | |
|       PaintableBox (Box<DIV>.grid) [8,8 100x100]
 | |
|         PaintableWithLines (BlockContainer<DIV>.item) [8,8 100x100]
 | |
|       PaintableWithLines (BlockContainer(anonymous)) [8,108 784x0]
 |