mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 07:07: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.
27 lines
1.7 KiB
Text
27 lines
1.7 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html.js> at (0,0) content-size 800x200 [BFC] children: not-inline
|
|
BlockContainer <body> at (0,0) content-size 800x50 children: not-inline
|
|
BlockContainer <div#page> at (50,50) content-size 750x0 children: not-inline
|
|
BlockContainer <div#content_box> at (50,50) content-size 400x150 floating [BFC] children: inline
|
|
BlockContainer <article.first> at (50,50) content-size 300x100 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [50,50 36.03125x17] baseline: 13.296875
|
|
"first"
|
|
TextNode <#text>
|
|
BlockContainer <article.second> at (50,150) content-size 200x50 floating [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [50,150 54.78125x17] baseline: 13.296875
|
|
"second"
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (0,50) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>.js) [0,0 800x200]
|
|
PaintableWithLines (BlockContainer<BODY>) [0,0 800x50] overflow: [0,0 800x200]
|
|
PaintableWithLines (BlockContainer<DIV>#page) [0,0 800x50] overflow: [0,0 800x200]
|
|
PaintableWithLines (BlockContainer<DIV>#content_box) [50,50 400x150]
|
|
PaintableWithLines (BlockContainer<ARTICLE>.first) [50,50 300x100]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<ARTICLE>.second) [50,150 200x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,50 800x0]
|