mirror of
https://github.com/RGBCube/serenity
synced 2025-05-24 00:15:07 +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.
123 lines
8.4 KiB
Text
123 lines
8.4 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x131 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x115 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (8,8) content-size 75.828125x115 [BFC] children: not-inline
|
|
Box <table> at (9,9) content-size 73.828125x113 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (9,9) content-size 67.828125x107 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (11,11) content-size 67.828125x53.5 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (17,29.25) content-size 11.5625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [17,29.25 11.5625x17] baseline: 13.296875
|
|
"X"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (42.5625,17) content-size 32.265625x97 table-cell [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (42.5625,17) content-size 32.265625x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (42.5625,17) content-size 32.265625x97 [BFC] children: not-inline
|
|
Box <table> at (43.5625,18) content-size 30.265625x95 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (43.5625,18) content-size 26.265625x87 table-row-group children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (45.5625,20) content-size 26.265625x29 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (51.5625,26) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,26 14.265625x17] baseline: 13.296875
|
|
"A"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (45.5625,51) content-size 26.265625x29 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (51.5625,57) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,57 9.34375x17] baseline: 13.296875
|
|
"B"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (45.5625,82) content-size 26.265625x29 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (51.5625,88) content-size 14.265625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [51.5625,88 10.3125x17] baseline: 13.296875
|
|
"C"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (42.5625,17) content-size 0x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (42.5625,17) content-size 0x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (42.5625,17) content-size 0x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (42.5625,114) content-size 32.265625x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (11,66.5) content-size 67.828125x53.5 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (17,84.75) content-size 11.5625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [17,84.75 11.09375x17] baseline: 13.296875
|
|
"Y"
|
|
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,123) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x131]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x115]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 75.828125x115]
|
|
PaintableBox (Box<TABLE>) [8,8 75.828125x115]
|
|
PaintableBox (Box<TBODY>) [9,9 67.828125x107] overflow: [9,9 71.828125x111]
|
|
PaintableBox (Box<TR>) [11,11 67.828125x53.5] overflow: [11,11 69.828125x109]
|
|
PaintableWithLines (BlockContainer<TD>) [11,11 23.5625x53.5]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [36.5625,11 44.265625x109]
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 32.265625x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [42.5625,17 32.265625x97]
|
|
PaintableBox (Box<TABLE>) [42.5625,17 32.265625x97] overflow: [42.5625,17 31.265625x96]
|
|
PaintableBox (Box<TBODY>) [43.5625,18 26.265625x87] overflow: [42.5625,17 29.265625x94]
|
|
PaintableBox (Box<TR>) [45.5625,20 26.265625x29]
|
|
PaintableWithLines (BlockContainer<TD>) [45.5625,20 26.265625x29]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [45.5625,51 26.265625x29]
|
|
PaintableWithLines (BlockContainer<TD>) [45.5625,51 26.265625x29]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [45.5625,82 26.265625x29] overflow: [42.5625,17 29.265625x94]
|
|
PaintableWithLines (BlockContainer<TD>) [45.5625,82 26.265625x29]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 0x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 0x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,17 0x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [42.5625,114 32.265625x0]
|
|
PaintableBox (Box<TR>) [11,66.5 67.828125x53.5]
|
|
PaintableWithLines (BlockContainer<TD>) [11,66.5 23.5625x53.5]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,123 784x0]
|