mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:27:35 +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.
19 lines
1.2 KiB
Text
19 lines
1.2 KiB
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 102x55 positioned [BFC] children: not-inline
|
|
BlockContainer <div#container> at (11,11) content-size 100x53 children: not-inline
|
|
BlockContainer <div#child> at (72,12) content-size 50x51 children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [72,12 28.40625x17] baseline: 13.296875
|
|
"well"
|
|
frag 1 from TextNode start: 5, length: 5, rect: [72,29 36.84375x17] baseline: 13.296875
|
|
"hello"
|
|
frag 2 from TextNode start: 11, length: 7, rect: [72,46 55.359375x17] baseline: 13.296875
|
|
"friends"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x2] overflow: [9,9 174x57]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 104x57] overflow: [10,10 173x55]
|
|
PaintableWithLines (BlockContainer<DIV>#container) [10,10 102x55] overflow: [11,11 172x53]
|
|
PaintableWithLines (BlockContainer<DIV>#child) [11,11 172x53]
|
|
TextPaintable (TextNode<#text>)
|