mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 17:52:45 +00:00 
			
		
		
		
	 6a17a30e2e
			
		
	
	
		6a17a30e2e
		
	
	
	
	
		
			
			Allow the left margin of a box which creates a block formatting context to overlap with left floating boxes which are siblings in the document tree. Fixes #20233 and the comment layout on https://lobste.rs.
		
			
				
	
	
		
			26 lines
		
	
	
		
			No EOL
		
	
	
		
			373 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
		
			No EOL
		
	
	
		
			373 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <style>
 | |
|     .a {
 | |
|         float: left;
 | |
|     }
 | |
| 
 | |
|     .a4 {
 | |
|         display: block;
 | |
|     }
 | |
| 
 | |
|     .c {
 | |
|         overflow: hidden;
 | |
|     }
 | |
| </style>
 | |
| 
 | |
| <div>
 | |
|     <div>
 | |
|         <div class="a">
 | |
|             <div class="a4">AAAA</div>
 | |
|             <div>A</div>
 | |
|         </div>
 | |
|     </div>
 | |
|     <div style="margin-left: 100px">
 | |
|         <div>B</div>
 | |
|         <div class="c">C</div>
 | |
|     </div>
 | |
| </div> |