mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 16:12:44 +00:00 
			
		
		
		
	 473848be0e
			
		
	
	
		473848be0e
		
	
	
	
	
		
			
			This fixes the issue when size of abspos items is considered to be resolvable without performing layout which is not correct in the scenarious when top/right/bottom/left properties are not auto.
		
			
				
	
	
		
			22 lines
		
	
	
		
			No EOL
		
	
	
		
			441 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			No EOL
		
	
	
		
			441 B
		
	
	
	
		
			HTML
		
	
	
	
	
	
| <!DOCTYPE html><style>
 | |
|     * {
 | |
|         border: 1px solid white;
 | |
|     }
 | |
|     html {
 | |
|         background: black;
 | |
|     }
 | |
|     body {
 | |
|         position: absolute;
 | |
|         width: 500px;
 | |
|         height: 100px;
 | |
|         background: maroon;
 | |
|     }
 | |
|     img {
 | |
|         max-width: 100%;
 | |
|     }
 | |
|     .image-container {
 | |
|         position: absolute;
 | |
|         background: green;
 | |
|         left: 250px;
 | |
|     }
 | |
| </style><body><div class="image-container"><img src="img.webp"> |