mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:47:45 +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.
15 lines
908 B
Text
15 lines
908 B
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x54 [BFC] children: not-inline
|
|
BlockContainer <body> at (110,10) content-size 300x36 positioned children: not-inline
|
|
BlockContainer <div> at (61,11) content-size 200x34 children: inline
|
|
frag 0 from TextNode start: 0, length: 19, rect: [61,11 159.859375x17] baseline: 13.296875
|
|
"there are no floats"
|
|
frag 1 from TextNode start: 20, length: 21, rect: [61,28 163.875x17] baseline: 13.296875
|
|
"intruding on this div"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x56]
|
|
PaintableWithLines (BlockContainer<BODY>) [109,9 302x38] overflow: [60,10 350x36]
|
|
PaintableWithLines (BlockContainer<DIV>) [60,10 202x36]
|
|
TextPaintable (TextNode<#text>)
|