mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:37:44 +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.
113 lines
6.9 KiB
Text
113 lines
6.9 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x125 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x109 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 63.046875x109 [BFC] children: not-inline
|
|
Box <table#full-table> at (10,42) content-size 59.046875x71 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <caption> at (8,8) content-size 59.046875x34 [BFC] children: inline
|
|
frag 0 from TextNode start: 1, length: 6, rect: [11,8 54.03125x17] baseline: 13.296875
|
|
"A long"
|
|
frag 1 from TextNode start: 8, length: 7, rect: [8,25 59.046875x17] baseline: 13.296875
|
|
"caption"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <thead> at (10,10) content-size 53.046875x21 table-header-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (12,44) content-size 53.046875x21 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (14,46) content-size 21.25x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [14,46 20.609375x17] baseline: 13.296875
|
|
"A1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (41.25,46) content-size 23.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [41.25,46 23.078125x17] baseline: 13.296875
|
|
"A2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (10,31) content-size 53.046875x21 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (12,67) content-size 53.046875x21 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (14,69) content-size 21.25x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [14,69 15.6875x17] baseline: 13.296875
|
|
"B1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (41.25,69) content-size 23.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [41.25,69 18.15625x17] baseline: 13.296875
|
|
"B2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tfoot> at (10,52) content-size 53.046875x21 table-footer-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (12,90) content-size 53.046875x21 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (14,92) content-size 21.25x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [14,92 18.890625x17] baseline: 13.296875
|
|
"F1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (41.25,92) content-size 23.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [41.25,92 21.359375x17] baseline: 13.296875
|
|
"F2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,117) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x125]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x109]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 63.046875x109]
|
|
PaintableBox (Box<TABLE>#full-table) [8,40 63.046875x75] overflow: [8,8 61.046875x105]
|
|
PaintableWithLines (BlockContainer<CAPTION>) [8,8 59.046875x34]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<THEAD>) [10,10 53.046875x21] overflow: [10,10 57.046875x55]
|
|
PaintableBox (Box<TR>) [12,44 53.046875x21] overflow: [12,44 55.046875x21]
|
|
PaintableWithLines (BlockContainer<TD>) [12,44 25.25x21]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [39.25,44 27.796875x21]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TBODY>) [10,31 53.046875x21] overflow: [10,31 57.046875x57]
|
|
PaintableBox (Box<TR>) [12,67 53.046875x21] overflow: [12,67 55.046875x21]
|
|
PaintableWithLines (BlockContainer<TD>) [12,67 25.25x21]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [39.25,67 27.796875x21]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TFOOT>) [10,52 53.046875x21] overflow: [10,52 57.046875x59]
|
|
PaintableBox (Box<TR>) [12,90 53.046875x21] overflow: [12,90 55.046875x21]
|
|
PaintableWithLines (BlockContainer<TD>) [12,90 25.25x21]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [39.25,90 27.796875x21]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,117 784x0]
|