mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:12:46 +00:00 
			
		
		
		
	LibWeb: Margin bottom collapsing between parent and last child
This commit is contained in:
		
							parent
							
								
									7088a87f49
								
							
						
					
					
						commit
						8259ff12bd
					
				
					 5 changed files with 105 additions and 65 deletions
				
			
		
							
								
								
									
										20
									
								
								Base/res/html/misc/margin-collapse-4.html
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Base/res/html/misc/margin-collapse-4.html
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,20 @@ | |||
| <style> | ||||
| #foo { | ||||
|     background-color: red; | ||||
|     width: 100px; | ||||
| } | ||||
| #bar { | ||||
|     background-color: green; | ||||
|     width: 50px; | ||||
|     height: 50px; | ||||
|     margin-top: -50px; | ||||
| } | ||||
| #baz { | ||||
|     background-color: blue; | ||||
|     width: 50px; | ||||
|     height: 50px; | ||||
|     margin-bottom: 100px; | ||||
| } | ||||
| </style> | ||||
| <div id=foo><div id=baz></div></div> | ||||
| <div id=bar></div> | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Aliaksandr Kalenik
						Aliaksandr Kalenik