mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 02: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.
		
			
				
	
	
		
			68 lines
		
	
	
	
		
			4.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			68 lines
		
	
	
	
		
			4.1 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| Viewport <#document> at (0,0) content-size 800x600 children: not-inline
 | |
|   BlockContainer <html> at (0,0) content-size 800x470.28125 [BFC] children: not-inline
 | |
|     BlockContainer <body> at (8,8) content-size 784x454.28125 children: not-inline
 | |
|       BlockContainer <(anonymous)> at (8,8) content-size 784x21.84375 children: inline
 | |
|         line 0 width: 391.65625, height: 21.84375, bottom: 21.84375, baseline: 16.921875
 | |
|           frag 0 from TextNode start: 0, length: 40, rect: [8,8 391.65625x21.84375]
 | |
|             "Variable set by inline style of element:"
 | |
|         TextNode <#text>
 | |
|         BreakNode <br>
 | |
|         TextNode <#text>
 | |
|       BlockContainer <div.a> at (8,29.84375) content-size 784x100 children: inline
 | |
|         line 0 width: 200, height: 100, bottom: 100, baseline: 100
 | |
|           frag 0 from BlockContainer start: 0, length: 0, rect: [8,29.84375 200x100]
 | |
|         BlockContainer <(anonymous)> at (8,29.84375) content-size 200x100 inline-block [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|       BlockContainer <(anonymous)> at (8,129.84375) content-size 784x66.21875 children: inline
 | |
|         line 0 width: 0, height: 21.84375, bottom: 21.84375, baseline: 16.921875
 | |
|         line 1 width: 0, height: 21.84375, bottom: 43.6875, baseline: 16.921875
 | |
|         line 2 width: 441.28125, height: 22.53125, bottom: 66.21875, baseline: 16.921875
 | |
|           frag 0 from TextNode start: 1, length: 42, rect: [8,172.84375 441.28125x21.84375]
 | |
|             "Variable set by CSS rule matching element:"
 | |
|         TextNode <#text>
 | |
|         BreakNode <br>
 | |
|         BreakNode <br>
 | |
|         TextNode <#text>
 | |
|         BreakNode <br>
 | |
|         TextNode <#text>
 | |
|       BlockContainer <div.b> at (8,196.0625) content-size 784x100 children: inline
 | |
|         line 0 width: 200, height: 100, bottom: 100, baseline: 100
 | |
|           frag 0 from BlockContainer start: 0, length: 0, rect: [8,196.0625 200x100]
 | |
|         BlockContainer <(anonymous)> at (8,196.0625) content-size 200x100 inline-block [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|       BlockContainer <(anonymous)> at (8,296.0625) content-size 784x66.21875 children: inline
 | |
|         line 0 width: 0, height: 21.84375, bottom: 21.84375, baseline: 16.921875
 | |
|         line 1 width: 0, height: 21.84375, bottom: 43.6875, baseline: 16.921875
 | |
|         line 2 width: 520.625, height: 22.53125, bottom: 66.21875, baseline: 16.921875
 | |
|           frag 0 from TextNode start: 1, length: 49, rect: [8,339.0625 520.625x21.84375]
 | |
|             "Variable set by CSS rule matching pseudo element:"
 | |
|         TextNode <#text>
 | |
|         BreakNode <br>
 | |
|         BreakNode <br>
 | |
|         TextNode <#text>
 | |
|         BreakNode <br>
 | |
|         TextNode <#text>
 | |
|       BlockContainer <div.c> at (8,362.28125) content-size 784x100 children: inline
 | |
|         line 0 width: 200, height: 100, bottom: 100, baseline: 100
 | |
|           frag 0 from BlockContainer start: 0, length: 0, rect: [8,362.28125 200x100]
 | |
|         BlockContainer <(anonymous)> at (8,362.28125) content-size 200x100 inline-block [BFC] children: inline
 | |
|           TextNode <#text>
 | |
|       BlockContainer <(anonymous)> at (8,462.28125) content-size 784x0 children: inline
 | |
|         TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x470.28125]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [8,8 784x454.28125]
 | |
|       PaintableWithLines (BlockContainer(anonymous)) [8,8 784x21.84375]
 | |
|         TextPaintable (TextNode<#text>)
 | |
|       PaintableWithLines (BlockContainer<DIV>.a) [8,29.84375 784x100]
 | |
|         PaintableWithLines (BlockContainer(anonymous)) [8,29.84375 200x100]
 | |
|       PaintableWithLines (BlockContainer(anonymous)) [8,129.84375 784x66.21875]
 | |
|         TextPaintable (TextNode<#text>)
 | |
|       PaintableWithLines (BlockContainer<DIV>.b) [8,196.0625 784x100]
 | |
|         PaintableWithLines (BlockContainer(anonymous)) [8,196.0625 200x100]
 | |
|       PaintableWithLines (BlockContainer(anonymous)) [8,296.0625 784x66.21875]
 | |
|         TextPaintable (TextNode<#text>)
 | |
|       PaintableWithLines (BlockContainer<DIV>.c) [8,362.28125 784x100]
 | |
|         PaintableWithLines (BlockContainer(anonymous)) [8,362.28125 200x100]
 | |
|       PaintableWithLines (BlockContainer(anonymous)) [8,462.28125 784x0]
 |