mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 21:42:43 +00:00 
			
		
		
		
	 030b1a197b
			
		
	
	
		030b1a197b
		
	
	
	
	
		
			
			The specification says we should distribute excess width proportionally to the width of the cell, not to the preferred increment. Doing the latter leads to distributing all excess width to just the cells which demand some increment, even if it's very modest. Moreover, there's code which partially implements the correct criteria just below the one we remove here.
		
			
				
	
	
		
			24 lines
		
	
	
		
			No EOL
		
	
	
		
			361 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			No EOL
		
	
	
		
			361 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
|     td {
 | |
|         border: 1px solid black;
 | |
|     }
 | |
| 
 | |
|     table {
 | |
|         border-collapse: collapse;
 | |
|     }
 | |
| </style>
 | |
| <table width="100%">
 | |
|     <tbody>
 | |
|         <tr>
 | |
|             <td>
 | |
|                 A
 | |
|             </td>
 | |
|             <td>
 | |
|                 B
 | |
|             </td>
 | |
|             <td>
 | |
|                 C D
 | |
|             </td>
 | |
|         </tr>
 | |
|     </tbody>
 | |
| </table> |