mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 13:22: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.
		
			
				
	
	
		
			18 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
	
		
			1.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (1,1) content-size 798x119.46875 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (10,10) content-size 500x101.46875 children: not-inline
 | |
|       BlockContainer <div.a> at (31,21) content-size 458x79.46875 children: not-inline
 | |
|         BlockContainer <div.b> at (72,52) content-size 376x17.46875 children: inline
 | |
|           line 0 width: 41.78125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|             frag 0 from TextNode start: 0, length: 5, rect: [73,52 39.78125x17.46875]
 | |
|               "Hello"
 | |
|           InlineNode <span>
 | |
|             TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x121.46875]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [9,9 502x103.46875]
 | |
|       PaintableWithLines (BlockContainer<DIV>.a) [10,10 500x101.46875]
 | |
|         PaintableWithLines (BlockContainer<DIV>.b) [71,51 378x19.46875]
 | |
|           InlinePaintable (InlineNode<SPAN>)
 | |
|             TextPaintable (TextNode<#text>)
 |