mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 05:57:45 +00:00

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.
12 lines
914 B
Text
12 lines
914 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x0 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 500x100 positioned [BFC] children: not-inline
|
|
BlockContainer <div.image-container> at (261,11) content-size 248x28.46875 positioned [BFC] children: inline
|
|
frag 0 from ImageBox start: 0, length: 0, rect: [262,12 248x26.46875] baseline: 28.46875
|
|
ImageBox <img> at (262,12) content-size 248x26.46875 children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x2] overflow: [9,9 502x102]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 502x102]
|
|
PaintableWithLines (BlockContainer<DIV>.image-container) [260,10 250x30.46875] overflow: [261,11 249x28.46875]
|
|
ImagePaintable (ImageBox<IMG>) [261,11 250x28.46875]
|