mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:02:43 +00:00 
			
		
		
		
	 ef9b6c25fa
			
		
	
	
		ef9b6c25fa
		
	
	
	
	
		
			
			Before this change, we were creating a new anonymous flex item for every inline-level child of a flex container, even when we had a sequence of inline-level children. The fix here is to simply keep putting things in the last child of the flex container, if that child is already an anonymous flex item.
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			115 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			115 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype><style>
 | |
| * { outline: 1px solid black; }
 | |
| div { display: flex; }
 | |
| </style>
 | |
| <div>
 | |
| well<br>
 | |
| hello<br>
 | |
| friends
 |