mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:12:43 +00:00 
			
		
		
		
	 a5f8f8238f
			
		
	
	
		a5f8f8238f
		
	
	
	
	
		
			
			We were incorrectly returning a "specified size suggestion" for flex items with a definite main size where that main size was also automatic. This led to us incorrectly choosing 0 as the automatic minimum size for that flex item, instead of its min-content size.
		
			
				
	
	
		
			14 lines
		
	
	
		
			No EOL
		
	
	
		
			280 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			No EOL
		
	
	
		
			280 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html><style>
 | |
| * { border: 1px solid black; }
 | |
| html { background: white; }
 | |
| .flex {
 | |
|     width: max-content;
 | |
|     display: flex;
 | |
|     background: pink;
 | |
|     height: 50px;
 | |
| }
 | |
| .item {
 | |
|     flex-basis: 1px;
 | |
|     background: orange;
 | |
| }
 | |
| </style><body class="flex"><div class="item">hello |