mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:12:43 +00:00 
			
		
		
		
	 63939445b1
			
		
	
	
		63939445b1
		
	
	
	
	
		
			
			Implements following line from the spec: "If the computed value of 'inline-size' is 'auto', then the used value is the fit-content inline size."
		
			
				
	
	
		
			9 lines
		
	
	
		
			No EOL
		
	
	
		
			240 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			9 lines
		
	
	
		
			No EOL
		
	
	
		
			240 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><style>
 | |
|     .btn {
 | |
|         display: block;
 | |
|     }
 | |
| 
 | |
|     .fixed-width {
 | |
|         width: 200px;
 | |
|     }
 | |
| </style><button class="btn fixed-width">200px width</button><button class="btn">auto width should behave as fit-content</button> |