mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	 f6ff37398c
			
		
	
	
		f6ff37398c
		
	
	
	
	
		
			
			Fixes the problem that width is incorrectly computed in intrinsic sizing mode when there are blocks that have min-width or max-width specified. Actually that is just the fix of a symptom of the larger problem that Length::to_px() returns 0 when value is auto regardless of available size.
		
			
				
	
	
		
			17 lines
		
	
	
		
			No EOL
		
	
	
		
			272 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			No EOL
		
	
	
		
			272 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><style>
 | |
| * {
 | |
|     font-family: 'SerenitySans';
 | |
|     border: 1px solid black;
 | |
| }
 | |
| body {
 | |
|     float: left;
 | |
| }
 | |
| .outer {
 | |
|     min-width: 32px;
 | |
|     background-color: orange;
 | |
| }
 | |
| .inner {
 | |
|     width: 100px;
 | |
|     height: 30px;
 | |
| }
 | |
| </style><div class="outer"><div class="inner"> |