mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 01:37:34 +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.
37 lines
2.9 KiB
Text
37 lines
2.9 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 784x110 children: not-inline
|
|
TableWrapper <(anonymous)> at (8,8) content-size 784x110 [BFC] children: not-inline
|
|
Box <table.ambox> at (9,9) content-size 782x108 table-box [TFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text>
|
|
Box <tbody> at (9,9) content-size 776x104 table-row-group children: not-inline
|
|
Box <tr> at (11,11) content-size 776x104 table-row children: not-inline
|
|
BlockContainer <td.mbox-image> at (12,38) content-size 50x50 table-cell [BFC] children: not-inline
|
|
BlockContainer <div.mbox-image-div> at (12,38) content-size 50x50 children: not-inline
|
|
BlockContainer <td.mbox-text> at (66,12) content-size 722x102 table-cell [BFC] children: inline
|
|
frag 0 from TextNode start: 1, length: 84, rect: [66,12 689.640625x17] baseline: 13.296875
|
|
"In a scene set in a lawyer's office, the lawyer sits alone and bounces a rubber ball"
|
|
frag 1 from TextNode start: 86, length: 84, rect: [66,29 695.5625x17] baseline: 13.296875
|
|
"against the wall. They receive a call from their assistant who expresses frustration"
|
|
frag 2 from TextNode start: 171, length: 85, rect: [66,46 703.125x17] baseline: 13.296875
|
|
"over a packed waiting room and the lawyer's lack of clients. The lawyer then looks at"
|
|
frag 3 from TextNode start: 257, length: 81, rect: [66,63 695.90625x17] baseline: 13.296875
|
|
"some papers from a large envelope, which turn out to be divorce papers from their"
|
|
frag 4 from TextNode start: 339, length: 84, rect: [66,80 670.515625x17] baseline: 13.296875
|
|
"significant other. Finally, the lawyer instructs their assistant to send in the next"
|
|
frag 5 from TextNode start: 424, length: 7, rect: [66,97 47.21875x17] baseline: 13.296875
|
|
"client."
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x110]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 784x110]
|
|
PaintableBox (Box<TABLE>.ambox) [8,8 784x110]
|
|
PaintableBox (Box<TBODY>) [9,9 776x104] overflow: [9,9 780x106]
|
|
PaintableBox (Box<TR>) [11,11 776x104] overflow: [11,11 778x104]
|
|
PaintableWithLines (BlockContainer<TD>.mbox-image) [11,11 52x104]
|
|
PaintableWithLines (BlockContainer<DIV>.mbox-image-div) [12,38 50x50]
|
|
PaintableWithLines (BlockContainer<TD>.mbox-text) [65,11 724x104]
|
|
TextPaintable (TextNode<#text>)
|