mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-03 17:02:56 +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> at (0,0) content-size 800x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (8,8) content-size 784x300 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 200x300 [BFC] children: not-inline
|
|
Box <div.table> at (8,8) content-size 200x300 table-box [TFC] children: not-inline
|
|
Box <div.row.a> at (8,8) content-size 200x150 table-row children: not-inline
|
|
BlockContainer <div.cell> at (8,8) content-size 200x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,8 9.34375x17] baseline: 13.296875
|
|
"a"
|
|
TextNode <#text>
|
|
Box <div.row.b> at (8,158) content-size 200x150 table-row children: not-inline
|
|
BlockContainer <div.cell> at (8,158) content-size 200x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [8,158 9.46875x17] baseline: 13.296875
|
|
"b"
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x300]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 200x300]
|
|
PaintableBox (Box<DIV>.table) [8,8 200x300]
|
|
PaintableBox (Box<DIV>.row.a) [8,8 200x150]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [8,8 200x150]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<DIV>.row.b) [8,158 200x150]
|
|
PaintableWithLines (BlockContainer<DIV>.cell) [8,158 200x150]
|
|
TextPaintable (TextNode<#text>)
|