mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 08:37:34 +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.
17 lines
1 KiB
Text
17 lines
1 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x121 [BFC] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [2,2 168.96875x119] baseline: 15.296875
|
|
BlockContainer <body> at (2,2) content-size 168.96875x119 inline-block [BFC] children: not-inline
|
|
BlockContainer <div.hmm> at (3,3) content-size 166.96875x17 children: inline
|
|
frag 0 from TextNode start: 0, length: 21, rect: [3,3 166.96875x17] baseline: 13.296875
|
|
"suspiciously tall box"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (2,121) content-size 168.96875x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x123]
|
|
PaintableWithLines (BlockContainer<BODY>) [1,1 170.96875x121]
|
|
PaintableWithLines (BlockContainer<DIV>.hmm) [2,2 168.96875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [2,121 168.96875x0]
|