mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 13:18:13 +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.
136 lines
8.5 KiB
Text
136 lines
8.5 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (0,0) content-size 800x102 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> at (0,0) content-size 800x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <body> at (8,8) content-size 784x86 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TableWrapper <(anonymous)> at (8,8) content-size 229.359375x86 [BFC] children: not-inline
|
|
Box <table> at (8,8) content-size 229.359375x86 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (8,8) content-size 221.359375x76 table-row-group children: not-inline
|
|
Box <tr> at (10,10) content-size 221.359375x19 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <th> at (11,11) content-size 70.046875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 8, rect: [11,11 70.046875x17] baseline: 13.296875
|
|
"Header 1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <th> at (85.046875,11) content-size 72.515625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 8, rect: [85.046875,11 72.515625x17] baseline: 13.296875
|
|
"Header 2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <th> at (161.5625,11) content-size 72.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 8, rect: [161.5625,11 72.796875x17] baseline: 13.296875
|
|
"Header 3"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,31) content-size 221.359375x19 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,42.5) content-size 70.046875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [11,42.5 49.609375x17] baseline: 13.296875
|
|
"Row 1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (85.046875,32) content-size 72.515625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [85.046875,32 41.84375x17] baseline: 13.296875
|
|
"Cell 1"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (161.5625,32) content-size 72.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [161.5625,32 44.3125x17] baseline: 13.296875
|
|
"Cell 2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,52) content-size 221.359375x19 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (85.046875,53) content-size 72.515625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [85.046875,53 44.59375x17] baseline: 13.296875
|
|
"Cell 3"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (161.5625,53) content-size 72.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [161.5625,53 43.25x17] baseline: 13.296875
|
|
"Cell 4"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tr> at (10,73) content-size 221.359375x19 table-row children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (11,74) content-size 70.046875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 5, rect: [11,74 52.078125x17] baseline: 13.296875
|
|
"Row 2"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (85.046875,74) content-size 72.515625x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [85.046875,74 43.953125x17] baseline: 13.296875
|
|
"Cell 5"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <td> at (161.5625,74) content-size 72.796875x17 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [161.5625,74 44.234375x17] baseline: 13.296875
|
|
"Cell 6"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,94) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x102]
|
|
PaintableWithLines (BlockContainer(anonymous)) [0,0 800x0]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x86]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 229.359375x86]
|
|
PaintableBox (Box<TABLE>) [8,8 229.359375x86]
|
|
PaintableBox (Box<TBODY>) [8,8 221.359375x76] overflow: [8,8 227.359375x84]
|
|
PaintableBox (Box<TR>) [10,10 221.359375x19] overflow: [10,10 225.359375x19]
|
|
PaintableWithLines (BlockContainer<TH>) [10,10 72.046875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TH>) [84.046875,10 74.515625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TH>) [160.5625,10 74.796875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,31 221.359375x19] overflow: [10,31 225.359375x40]
|
|
PaintableWithLines (BlockContainer<TD>) [10,31 72.046875x40]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [84.046875,31 74.515625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [160.5625,31 74.796875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,52 221.359375x19] overflow: [10,52 225.359375x19]
|
|
PaintableWithLines (BlockContainer<TD>) [84.046875,52 74.515625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [160.5625,52 74.796875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableBox (Box<TR>) [10,73 221.359375x19] overflow: [10,73 225.359375x19]
|
|
PaintableWithLines (BlockContainer<TD>) [10,73 72.046875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [84.046875,73 74.515625x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [160.5625,73 74.796875x19]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,94 784x0]
|