mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +00:00 
			
		
		
		
	 3250a424f0
			
		
	
	
		3250a424f0
		
	
	
	
	
		
			
			We were incorrectly offsetting the static position of abspos children of flex containers by the padding twice. This was a misguided attempt to adjust to the abspos containing block being the padding box, not the content box. Fixes #21344.
		
			
				
	
	
		
			20 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			1.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x53.46875 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x37.46875 children: not-inline
 | |
|       Box <div#flex-container> at (18,18) content-size 764x17.46875 flex-container(row) [FFC] children: not-inline
 | |
|         BlockContainer <div#absolute> at (18,18) content-size 50x50 positioned [BFC] children: not-inline
 | |
|           BlockContainer <div#orange> at (18,18) content-size 50x50 children: not-inline
 | |
|         BlockContainer <div#red> at (18,18) content-size 9.703125x17.46875 flex-item [BFC] children: inline
 | |
|           line 0 width: 9.703125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 1, rect: [18,18 9.703125x17.46875]
 | |
|               "x"
 | |
|           TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x53.46875] overflow: [0,0 800x68]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [8,8 784x37.46875] overflow: [8,8 784x60]
 | |
|       PaintableBox (Box<DIV>#flex-container) [8,8 784x37.46875] overflow: [8,8 784x60]
 | |
|         PaintableWithLines (BlockContainer<DIV>#absolute) [18,18 50x50]
 | |
|           PaintableWithLines (BlockContainer<DIV>#orange) [18,18 50x50]
 | |
|         PaintableWithLines (BlockContainer<DIV>#red) [18,18 9.703125x17.46875]
 | |
|           TextPaintable (TextNode<#text>)
 |