mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:42:45 +00:00 
			
		
		
		
	 3f9cfa144c
			
		
	
	
		3f9cfa144c
		
	
	
	
	
		
			
			If the flex container is being sized under a max-content main size constraint, there is effectively infinite space available for flex items. Thus, flex lines should be allowed to be infinitely long. This is a little awkward, because the spec doesn't mention specifics about how to resolve flexible lengths during intrninsic sizing. I've marked the spec deviations with big "AD-HOC" comments.
		
			
				
	
	
		
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			303 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			303 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html><style>
 | |
|     html { background: white; }
 | |
|     .outer {
 | |
|         width: max-content;
 | |
|         padding: 10px;
 | |
|         background: pink;
 | |
|     }
 | |
|     .inner {
 | |
|         display: flex;
 | |
|         background: orange;
 | |
|     }
 | |
| </style><body class="outer"><div class="inner">this text should be all on one line |