mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 15:42:44 +00:00 
			
		
		
		
	 62f15f94d2
			
		
	
	
		62f15f94d2
		
	
	
	
	
		
			
			Handle the clear property for floating boxes and add tracking for vertical clearence within an inline formatting context.
		
			
				
	
	
		
			21 lines
		
	
	
		
			No EOL
		
	
	
		
			222 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			No EOL
		
	
	
		
			222 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
| 	.left {
 | |
| 		float: left;
 | |
| 	}
 | |
| 
 | |
| 	.right {
 | |
| 		float: right;
 | |
| 	}
 | |
| 
 | |
| 	.c {
 | |
| 		margin-top: 70px;
 | |
| 		clear: both;
 | |
| 		float: left;
 | |
| 	}
 | |
| </style>
 | |
| 
 | |
| <div>
 | |
| 	<h1 class="left">A</h1>
 | |
| 	<h1 class="right">B</h1>
 | |
| 	<div class="c">X</div>
 | |
| </div> |