mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 09:32: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.
		
			
				
	
	
		
			52 lines
		
	
	
	
		
			3.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			52 lines
		
	
	
	
		
			3.3 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 784x21.46875 children: not-inline
 | |
|       TableWrapper <(anonymous)> at (8,8) content-size 784x21.46875 [BFC] children: not-inline
 | |
|         Box <table> at (8,8) content-size 784x21.46875 table-box [TFC] children: not-inline
 | |
|           BlockContainer <(anonymous)> (not painted) children: inline
 | |
|             TextNode <#text>
 | |
|           Box <tbody> at (8,8) content-size 784x21.46875 table-row-group children: not-inline
 | |
|             BlockContainer <(anonymous)> (not painted) children: inline
 | |
|               TextNode <#text>
 | |
|             Box <tr> at (8,8) content-size 784x21.46875 table-row children: not-inline
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (10,10) content-size 216.09375x17.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: 1, length: 1, rect: [10,10 14.265625x17.46875]
 | |
|                     "A"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (230.09375,10) content-size 156.796875x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 9.34375, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 1, length: 1, rect: [230.09375,10 9.34375x17.46875]
 | |
|                     "B"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (390.890625,10) content-size 399.109375x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 29.453125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 1, length: 3, rect: [390.890625,10 29.453125x17.46875]
 | |
|                     "C D"
 | |
|                 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 784x21.46875]
 | |
|       PaintableWithLines (TableWrapper(anonymous)) [8,8 784x21.46875]
 | |
|         PaintableBox (Box<TABLE>) [8,8 784x21.46875]
 | |
|           PaintableBox (Box<TBODY>) [8,8 784x21.46875]
 | |
|             PaintableBox (Box<TR>) [8,8 784x21.46875]
 | |
|               PaintableWithLines (BlockContainer<TD>) [8,8 220.09375x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [228.09375,8 160.796875x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [388.890625,8 403.109375x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 |