mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 20:12:43 +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.
		
			
				
	
	
		
			31 lines
		
	
	
		
			No EOL
		
	
	
		
			443 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			No EOL
		
	
	
		
			443 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html>
 | |
| <html lang="en">
 | |
| 
 | |
| <head>
 | |
|     <title>Block with hidden overflow after float</title>
 | |
|     <style>
 | |
|         .ab {
 | |
|             margin-left: 100px;
 | |
|         }
 | |
| 
 | |
|         .a {
 | |
|             float: left;
 | |
|         }
 | |
| 
 | |
|         .b {
 | |
|             overflow: hidden;
 | |
|         }
 | |
|     </style>
 | |
| </head>
 | |
| 
 | |
| <body>
 | |
|     <div class="ab">
 | |
|         <div>
 | |
|             <div class="a">A</div>
 | |
|         </div>
 | |
|         <div class="b">B</div>
 | |
|     </div>
 | |
| 
 | |
| </body>
 | |
| 
 | |
| </html> |