mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 12:02:43 +00:00 
			
		
		
		
	 c01c4b41e2
			
		
	
	
		c01c4b41e2
		
	
	
	
	
		
			
			This patch just adds the new root paintable and updates the tests expectations. The next patch will move painting logic from the layout viewport to the paint viewport.
		
			
				
	
	
		
			32 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			32 lines
		
	
	
	
		
			2.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (1,1) content-size 798x70 [BFC] children: not-inline
 | |
|     Box <body> at (10,10) content-size 500x52 flex-container(row) [FFC] children: not-inline
 | |
|       BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|         TextNode <#text>
 | |
|       BlockContainer <div.big> at (11,11) content-size 381.625x50 flex-item [BFC] children: not-inline
 | |
|       BlockContainer <(anonymous)> (not painted) [BFC] children: inline
 | |
|         TextNode <#text>
 | |
|       BlockContainer <div.buttons> at (394.625,11) content-size 114.375x50 flex-item [BFC] children: inline
 | |
|         line 0 width: 114.375, height: 19.46875, bottom: 19.46875, baseline: 14.53125
 | |
|           frag 0 from BlockContainer start: 0, length: 0, rect: [395.625,12 57.046875x17.46875]
 | |
|           frag 1 from BlockContainer start: 0, length: 0, rect: [454.625,12 53.328125x17.46875]
 | |
|         BlockContainer <div.button> at (395.625,12) content-size 57.046875x17.46875 inline-block [BFC] children: inline
 | |
|           line 0 width: 57.046875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 6, rect: [395.625,12 57.046875x17.46875]
 | |
|               "Accept"
 | |
|           TextNode <#text>
 | |
|         BlockContainer <div.button> at (454.625,12) content-size 53.328125x17.46875 inline-block [BFC] children: inline
 | |
|           line 0 width: 53.328125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 6, rect: [454.625,12 53.328125x17.46875]
 | |
|               "Reject"
 | |
|           TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x72]
 | |
|     PaintableBox (Box<BODY>) [9,9 502x54]
 | |
|       PaintableWithLines (BlockContainer<DIV>.big) [10,10 383.625x52]
 | |
|       PaintableWithLines (BlockContainer<DIV>.buttons) [393.625,10 116.375x52]
 | |
|         PaintableWithLines (BlockContainer<DIV>.button) [394.625,11 59.046875x19.46875]
 | |
|           TextPaintable (TextNode<#text>)
 | |
|         PaintableWithLines (BlockContainer<DIV>.button) [453.625,11 55.328125x19.46875]
 | |
|           TextPaintable (TextNode<#text>)
 |