mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	 bab1d09d92
			
		
	
	
		bab1d09d92
		
	
	
	
	
		
			
			Make the existing algorithm recursive, accounting for boxes which contain line boxes indirectly. Fixes some button alignment issues on Wikipedia.
		
			
				
	
	
		
			25 lines
		
	
	
		
			No EOL
		
	
	
		
			424 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			No EOL
		
	
	
		
			424 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
|     .ib {
 | |
|         display: inline-block;
 | |
|     }
 | |
| 
 | |
|     .label {
 | |
|         display: inline-block;
 | |
|         border: 1px solid black;
 | |
|         font-size: 20px;
 | |
|     }
 | |
| 
 | |
|     button {
 | |
|         display: inline-block;
 | |
|         border: 1px solid black;
 | |
|         background-color: transparent;
 | |
|         font-size: 40px;
 | |
|     }
 | |
| </style>
 | |
| 
 | |
| <div class="ib">
 | |
|     <div class="label">A</div>
 | |
|     <button>
 | |
|         <div>B</div>
 | |
|     </button>
 | |
| </div> |