mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:27:35 +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.
39 lines
2.4 KiB
Text
39 lines
2.4 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x70 [BFC] children: not-inline
|
|
BlockContainer <body> at (10,10) content-size 780x52 children: not-inline
|
|
Box <div.flexbox> at (11,11) content-size 778x50 flex-container(row) [FFC] children: not-inline
|
|
BlockContainer <div> at (12,12) content-size 136.3125x48 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [12,12 136.3125x17] baseline: 13.296875
|
|
"LongPieceOfText"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (150.3125,12) content-size 136.3125x48 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [150.3125,12 136.3125x17] baseline: 13.296875
|
|
"LongPieceOfText"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (288.625,12) content-size 136.3125x48 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [288.625,12 136.3125x17] baseline: 13.296875
|
|
"LongPieceOfText"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (426.9375,12) content-size 136.3125x48 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [426.9375,12 136.3125x17] baseline: 13.296875
|
|
"LongPieceOfText"
|
|
TextNode <#text>
|
|
BlockContainer <div.last.item> at (565.25,12) content-size 222.75x48 flex-item [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 15, rect: [565.25,12 136.3125x17] baseline: 13.296875
|
|
"LongPieceOfText"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x72]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 782x54]
|
|
PaintableBox (Box<DIV>.flexbox) [10,10 780x52]
|
|
PaintableWithLines (BlockContainer<DIV>) [11,11 138.3125x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [149.3125,11 138.3125x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [287.625,11 138.3125x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [425.9375,11 138.3125x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.last.item) [564.25,11 224.75x50]
|
|
TextPaintable (TextNode<#text>)
|