mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 10:22:45 +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 798x99.46875 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (10,10) content-size 500x81.46875 children: not-inline
 | |
|       BlockContainer <div.a> at (51,21) content-size 413x49.46875 children: not-inline
 | |
|         BlockContainer <div.b> at (92,32) content-size 326x17.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: [93,32 39.78125x17.46875]
 | |
|               "Hello"
 | |
|           InlineNode <span>
 | |
|             TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x101.46875]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [9,9 502x83.46875]
 | |
|       PaintableWithLines (BlockContainer<DIV>.a) [10,10 500x81.46875]
 | |
|         PaintableWithLines (BlockContainer<DIV>.b) [91,31 328x19.46875]
 | |
|           InlinePaintable (InlineNode<SPAN>)
 | |
|             TextPaintable (TextNode<#text>)
 |