mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:38:12 +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.
25 lines
1.3 KiB
Text
25 lines
1.3 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 784x51 children: not-inline
|
|
Box <div> at (8,8) content-size 784x51 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 55.359375x51 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 1, length: 4, rect: [8,8 28.40625x17] baseline: 13.296875
|
|
"well"
|
|
frag 1 from TextNode start: 1, length: 5, rect: [8,25 36.84375x17] baseline: 13.296875
|
|
"hello"
|
|
frag 2 from TextNode start: 1, length: 7, rect: [8,42 55.359375x17] baseline: 13.296875
|
|
"friends"
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
BreakNode <br>
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x51]
|
|
PaintableBox (Box<DIV>) [8,8 784x51]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 55.359375x51]
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|