mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 05:52:46 +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.
		
			
				
	
	
		
			34 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			34 lines
		
	
	
	
		
			2.2 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x600 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x23.46875 children: not-inline
 | |
|       TableWrapper <(anonymous)> at (8,8) content-size 6x23.46875 [BFC] children: not-inline
 | |
|         Box <table> at (8,8) content-size 6x23.46875 table-box [TFC] children: not-inline
 | |
|           BlockContainer <(anonymous)> (not painted) children: inline
 | |
|             TextNode <#text>
 | |
|           Box <tbody> at (8,8) content-size 0x19.46875 table-row-group children: not-inline
 | |
|             BlockContainer <(anonymous)> (not painted) children: inline
 | |
|               TextNode <#text>
 | |
|             Box <tr> at (10,10) content-size 0x19.46875 table-row children: not-inline
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (11,11) content-size 0x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 14.265625, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 1, rect: [11,11 14.265625x17.46875]
 | |
|                     "A"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|             BlockContainer <(anonymous)> (not painted) children: inline
 | |
|               TextNode <#text>
 | |
|           BlockContainer <(anonymous)> (not painted) children: inline
 | |
|             TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [8,8 784x23.46875]
 | |
|       PaintableWithLines (TableWrapper(anonymous)) [8,8 6x23.46875] overflow: [8,8 17.265625x23.46875]
 | |
|         PaintableBox (Box<TABLE>) [8,8 6x23.46875] overflow: [8,8 17.265625x23.46875]
 | |
|           PaintableBox (Box<TBODY>) [8,8 0x19.46875] overflow: [10,10 15.265625x19.46875]
 | |
|             PaintableBox (Box<TR>) [10,10 0x19.46875] overflow: [10,10 15.265625x19.46875]
 | |
|               PaintableWithLines (BlockContainer<TD>) [10,10 2x19.46875] overflow: [10,10 15.265625x19.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 |