mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02:52: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.
		
			
				
	
	
		
			99 lines
		
	
	
	
		
			6.4 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			99 lines
		
	
	
	
		
			6.4 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 784x44.9375 children: not-inline
 | |
|       TableWrapper <(anonymous)> at (8,8) content-size 600x44.9375 [BFC] children: not-inline
 | |
|         Box <table> at (9,9) content-size 598x42.9375 table-box [TFC] children: not-inline
 | |
|           BlockContainer <(anonymous)> (not painted) children: inline
 | |
|             TextNode <#text>
 | |
|           Box <tbody> at (9,9) content-size 598x42.9375 table-row-group children: not-inline
 | |
|             Box <tr> at (9,9) content-size 598x21.46875 table-row children: not-inline
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (11,11) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 26.078125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 4, rect: [11,11 26.078125x17.46875]
 | |
|                     "cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (160.5,11) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 26.078125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 4, rect: [160.5,11 26.078125x17.46875]
 | |
|                     "cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (310,11) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 94.96875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 12, rect: [310,11 94.96875x17.46875]
 | |
|                     "A table cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (459.5,11) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 94.96875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 12, rect: [459.5,11 94.96875x17.46875]
 | |
|                     "A table cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|             BlockContainer <(anonymous)> (not painted) children: inline
 | |
|               TextNode <#text>
 | |
|             Box <tr> at (9,30.46875) content-size 598x21.46875 table-row children: not-inline
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (11,32.46875) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 26.078125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 4, rect: [11,32.46875 26.078125x17.46875]
 | |
|                     "cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (160.5,32.46875) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 26.078125, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 4, rect: [160.5,32.46875 26.078125x17.46875]
 | |
|                     "cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (310,32.46875) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 94.96875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 12, rect: [310,32.46875 94.96875x17.46875]
 | |
|                     "A table cell"
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <(anonymous)> (not painted) children: inline
 | |
|                 TextNode <#text>
 | |
|               BlockContainer <td> at (459.5,32.46875) content-size 145.5x17.46875 table-cell [BFC] children: inline
 | |
|                 line 0 width: 94.96875, height: 17.46875, bottom: 17.46875, baseline: 13.53125
 | |
|                   frag 0 from TextNode start: 0, length: 12, rect: [459.5,32.46875 94.96875x17.46875]
 | |
|                     "A table cell"
 | |
|                 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 784x44.9375]
 | |
|       PaintableWithLines (TableWrapper(anonymous)) [8,8 600x44.9375]
 | |
|         PaintableBox (Box<TABLE>) [8,8 600x44.9375]
 | |
|           PaintableBox (Box<TBODY>) [9,9 598x42.9375]
 | |
|             PaintableBox (Box<TR>) [9,9 598x21.46875]
 | |
|               PaintableWithLines (BlockContainer<TD>) [9,9 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [158.5,9 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [308,9 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [457.5,9 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|             PaintableBox (Box<TR>) [9,30.46875 598x21.46875]
 | |
|               PaintableWithLines (BlockContainer<TD>) [9,30.46875 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [158.5,30.46875 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [308,30.46875 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 | |
|               PaintableWithLines (BlockContainer<TD>) [457.5,30.46875 149.5x21.46875]
 | |
|                 TextPaintable (TextNode<#text>)
 |