mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:12:45 +00:00 
			
		
		
		
	 9101c8d079
			
		
	
	
		9101c8d079
		
	
	
	
	
		
			
			Using avilable space directly while resolving table container width allows to avoid assigning it to table wrapper box content width which sometimes involves infinite (saturated) values. Also this allows to get rid of set_max_content_width() which is a hack that allows to bypass set_content_width() to assign infinite (saturated) width to a box. Closes https://github.com/SerenityOS/serenity/issues/19521
		
			
				
	
	
		
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			171 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			No EOL
		
	
	
		
			171 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><html><head><style>
 | |
| #box1 {
 | |
|     display: table;
 | |
| }
 | |
| 
 | |
| #box2 {
 | |
|     display: table;
 | |
|     padding: 100%;
 | |
| }
 | |
| </style></head><body><div id="box1"><div><div id="box2"> |