mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:02:43 +00:00 
			
		
		
		
	 1e526af430
			
		
	
	
		1e526af430
		
	
	
	
	
		
			
			The path for floating, replaced elements must not fall through to the path taken for floating, non-replaced elements. The former works like inline replaced elements, while the latter uses a completely different algorithm which doesn't account for intrinsic ratio. Falling through overrides the correct value computed by the former. Fixes #19061.
		
			
				
	
	
		
			26 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			26 lines
		
	
	
	
		
			1.6 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x824 [BFC] children: not-inline
 | |
|     BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
 | |
|       TextNode <#text>
 | |
|     BlockContainer <body> at (8,16) content-size 784x800 children: not-inline
 | |
|       BlockContainer <(anonymous)> at (8,16) content-size 784x0 children: inline
 | |
|         TextNode <#text>
 | |
|       BlockContainer <div.foo> at (8,16) content-size 1280x800 children: not-inline
 | |
|         BlockContainer <(anonymous)> at (8,16) content-size 1280x0 children: inline
 | |
|           TextNode <#text>
 | |
|         BlockContainer <div> at (8,16) content-size 1280x400 children: not-inline
 | |
|           BlockContainer <(anonymous)> at (8,16) content-size 1280x0 children: inline
 | |
|             TextNode <#text>
 | |
|             ImageBox <img> at (488,16) content-size 800x400 floating children: not-inline
 | |
|             TextNode <#text>
 | |
|           BlockContainer <p> at (8,16) content-size 1280x17.46875 children: inline
 | |
|             line 0 width: 37.21875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|               frag 0 from TextNode start: 0, length: 4, rect: [8,16 37.21875x17.46875]
 | |
|                 "Test"
 | |
|             TextNode <#text>
 | |
|           BlockContainer <(anonymous)> at (8,49.46875) content-size 1280x0 children: inline
 | |
|             TextNode <#text>
 | |
|         BlockContainer <(anonymous)> at (8,416) content-size 1280x0 children: inline
 | |
|           TextNode <#text>
 | |
|       BlockContainer <(anonymous)> at (8,816) content-size 784x0 children: inline
 | |
|         TextNode <#text>
 |