mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:02:44 +00:00 
			
		
		
		
	 1f28fdacf0
			
		
	
	
		1f28fdacf0
		
	
	
	
	
		
			
			max-width for boxes with inline children can only be applied after inside layout is done and width of box content is known. Fixes https://github.com/SerenityOS/serenity/issues/20235
		
			
				
	
	
		
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			270 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			No EOL
		
	
	
		
			270 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!doctype html><style>
 | |
|     * {
 | |
|         border: 1px solid black !important;
 | |
|     }
 | |
|     body {
 | |
|         width: max-content;
 | |
|     }
 | |
|     .inner {
 | |
|         max-width: 200px;
 | |
|         font-size: 50px;
 | |
|     }    
 | |
| </style><body><div class="outer"><div class="inner">well hello friends |