mirror of
				https://github.com/RGBCube/serenity
				synced 2025-10-31 18:52:45 +00:00 
			
		
		
		
	 de32b77ceb
			
		
	
	
		de32b77ceb
		
	
	
	
	
		
			
			This is a part of refactoring towards making the paintable tree independent of the layout tree. Now, instead of transferring text fragments from the layout tree to the paintable tree during the layout commit phase, we allocate separate PaintableFragments that contain only the information necessary for painting. Doing this also allows us to get rid LineBoxes, as they are used only during layout.
		
			
				
	
	
		
			29 lines
		
	
	
	
		
			1.7 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			1.7 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 784x261.328125 children: inline
 | |
|       frag 0 from SVGSVGBox start: 0, length: 0, rect: [8,8 784x261.328125] baseline: 261.328125
 | |
|       SVGSVGBox <svg> at (8,8) content-size 784x261.328125 [SVG] children: inline
 | |
|         TextNode <#text>
 | |
|         TextNode <#text>
 | |
|         SVGTextBox <text.small> at (73.328125,88.359375) content-size 48.109375x37.484375 children: inline
 | |
|           TextNode <#text>
 | |
|         TextNode <#text>
 | |
|         SVGTextBox <text.heavy> at (138.65625,43.953125) content-size 148.234375x79.71875 children: inline
 | |
|           TextNode <#text>
 | |
|         TextNode <#text>
 | |
|         SVGTextBox <text.small> at (187.65625,153.703125) content-size 34.59375x34.703125 children: inline
 | |
|           TextNode <#text>
 | |
|         TextNode <#text>
 | |
|         SVGTextBox <text.Rrrrr> at (220.328125,83.15625) content-size 519.34375x115.359375 children: inline
 | |
|           TextNode <#text>
 | |
|         TextNode <#text>
 | |
|       TextNode <#text>
 | |
| 
 | |
| ViewportPaintable (Viewport<#document>) [0,0 800x600]
 | |
|   PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
 | |
|     PaintableWithLines (BlockContainer<BODY>) [8,8 784x261.328125]
 | |
|       SVGSVGPaintable (SVGSVGBox<svg>) [8,8 784x261.328125]
 | |
|         SVGPathPaintable (SVGTextBox<text>.small) [73.328125,88.359375 48.109375x37.484375]
 | |
|         SVGPathPaintable (SVGTextBox<text>.heavy) [138.65625,43.953125 148.234375x79.71875]
 | |
|         SVGPathPaintable (SVGTextBox<text>.small) [187.65625,153.703125 34.59375x34.703125]
 | |
|         SVGPathPaintable (SVGTextBox<text>.Rrrrr) [220.328125,83.15625 519.34375x115.359375]
 |