mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 19:58:11 +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.
13 lines
765 B
Text
13 lines
765 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x97.875 [BFC] children: not-inline
|
|
Box <body> at (10,10) content-size 780x79.875 [GFC] children: not-inline
|
|
BlockContainer <h1> at (55.5,32.4375) content-size 689x35 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 31, rect: [55.5,32.4375 492.96875x35] baseline: 27.09375
|
|
"Null publishes fine indie games"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x99.875]
|
|
PaintableBox (Box<BODY>) [9,9 782x81.875]
|
|
PaintableWithLines (BlockContainer<H1>) [54.5,31.4375 691x37]
|
|
TextPaintable (TextNode<#text>)
|