mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 12:37:44 +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.
31 lines
1.9 KiB
Text
31 lines
1.9 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x976 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 600x960 children: not-inline
|
|
BlockContainer <div.normal> at (18,18) content-size 300x300 children: not-inline
|
|
BlockContainer <div#top> at (8,328) content-size 100x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [8,328 26.640625x17] baseline: 13.296875
|
|
"top"
|
|
TextNode <#text>
|
|
BlockContainer <div#left> at (8,428) content-size 100x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 4, rect: [8,428 26.25x17] baseline: 13.296875
|
|
"left"
|
|
TextNode <#text>
|
|
BlockContainer <div#right> at (108,428) content-size 100x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [108,428 37.109375x17] baseline: 13.296875
|
|
"right"
|
|
TextNode <#text>
|
|
BlockContainer <div.normal> at (18,338) content-size 300x300 children: not-inline
|
|
BlockContainer <div.normal> at (18,658) content-size 300x300 children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x976]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x976]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 600x960]
|
|
PaintableWithLines (BlockContainer<DIV>.normal) [8,8 320x320]
|
|
PaintableWithLines (BlockContainer<DIV>#top) [8,328 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>#left) [8,428 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>#right) [108,428 100x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.normal) [8,328 320x320]
|
|
PaintableWithLines (BlockContainer<DIV>.normal) [8,648 320x320]
|