mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-16 16:12:53 +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.
29 lines
2 KiB
Text
29 lines
2 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x118 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x102 children: not-inline
|
|
BlockContainer <div.wrapper> at (8,8) content-size 270x102 children: not-inline
|
|
Box <div.constrained> at (8,8) content-size 270x102 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 270x102 [BFC] children: inline
|
|
frag 0 from TextNode start: 1, length: 35, rect: [8,8 261.0625x17] baseline: 13.296875
|
|
"hello hello hello hello hello hello"
|
|
frag 1 from TextNode start: 37, length: 35, rect: [8,25 261.0625x17] baseline: 13.296875
|
|
"hello hello hello hello hello hello"
|
|
frag 2 from TextNode start: 73, length: 35, rect: [8,42 261.0625x17] baseline: 13.296875
|
|
"hello hello hello hello hello hello"
|
|
frag 3 from TextNode start: 109, length: 35, rect: [8,59 261.0625x17] baseline: 13.296875
|
|
"hello hello hello hello hello hello"
|
|
frag 4 from TextNode start: 145, length: 35, rect: [8,76 261.0625x17] baseline: 13.296875
|
|
"hello hello hello hello hello hello"
|
|
frag 5 from TextNode start: 181, length: 11, rect: [8,93 81.6875x17] baseline: 13.296875
|
|
"hello hello"
|
|
TextNode <#text>
|
|
BlockContainer <div> at (8,110) content-size 270x0 [BFC] children: not-inline
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x118]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x102]
|
|
PaintableWithLines (BlockContainer<DIV>.wrapper) [8,8 270x102]
|
|
PaintableBox (Box<DIV>.constrained) [8,8 270x102]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 270x102]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [8,110 270x0]
|