mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:38:11 +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.
50 lines
3 KiB
Text
50 lines
3 KiB
Text
Viewport <#document> at (0,0) content-size 800x600 children: not-inline
|
|
BlockContainer <html> at (1,1) content-size 798x600 [BFC] children: not-inline
|
|
BlockContainer <body> at (252,10) content-size 538x400 children: inline
|
|
frag 0 from TextNode start: 1, length: 21, rect: [554,10 228.34375x22] baseline: 17
|
|
"Lorem ipsum dolor sit"
|
|
frag 1 from TextNode start: 23, length: 17, rect: [554,32 183.78125x22] baseline: 17
|
|
"amet, consectetur"
|
|
frag 2 from TextNode start: 41, length: 16, rect: [554,54 140.5625x22] baseline: 17
|
|
"adipiscing elit."
|
|
frag 3 from TextNode start: 58, length: 13, rect: [554,76 145x22] baseline: 17
|
|
"Suspendisse a"
|
|
frag 4 from TextNode start: 72, length: 19, rect: [554,98 196.703125x22] baseline: 17
|
|
"placerat mauris, ut"
|
|
frag 5 from TextNode start: 92, length: 22, rect: [554,120 234.6875x22] baseline: 17
|
|
"elementum mi. Morbi ut"
|
|
frag 6 from TextNode start: 115, length: 20, rect: [554,142 201.53125x22] baseline: 17
|
|
"vehicula ipsum, eget"
|
|
frag 7 from TextNode start: 136, length: 23, rect: [554,164 232.53125x22] baseline: 17
|
|
"placerat augue. Integer"
|
|
frag 8 from TextNode start: 160, length: 20, rect: [554,186 202.96875x22] baseline: 17
|
|
"rutrum nisi eget dui"
|
|
frag 9 from TextNode start: 181, length: 19, rect: [252,212 208.828125x22] baseline: 17
|
|
"dictum, eu accumsan"
|
|
frag 10 from TextNode start: 201, length: 18, rect: [252,234 180.1875x22] baseline: 17
|
|
"enim tristique. Ut"
|
|
frag 11 from TextNode start: 220, length: 19, rect: [252,256 195.28125x22] baseline: 17
|
|
"lobortis lorem eget"
|
|
frag 12 from TextNode start: 240, length: 22, rect: [252,278 222.921875x22] baseline: 17
|
|
"est vulputate egestas."
|
|
frag 13 from TextNode start: 263, length: 23, rect: [252,300 223.125x22] baseline: 17
|
|
"Integer laoreet lacinia"
|
|
frag 14 from TextNode start: 287, length: 22, rect: [252,322 222.609375x22] baseline: 17
|
|
"ante sodales lobortis."
|
|
frag 15 from TextNode start: 310, length: 17, rect: [252,344 178.3125x22] baseline: 17
|
|
"Donec a tincidunt"
|
|
frag 16 from TextNode start: 328, length: 22, rect: [252,366 231.078125x22] baseline: 17
|
|
"ante. Phasellus a arcu"
|
|
frag 17 from TextNode start: 351, length: 7, rect: [252,388 70.546875x22] baseline: 17
|
|
"tortor."
|
|
BlockContainer <div.left> at (253,11) content-size 300x200 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <div.right> at (489,213) content-size 300x200 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600] overflow: [0,0 800x602]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x602]
|
|
PaintableWithLines (BlockContainer<BODY>) [251,9 540x402]
|
|
PaintableWithLines (BlockContainer<DIV>.left) [252,10 302x202]
|
|
PaintableWithLines (BlockContainer<DIV>.right) [488,212 302x202]
|
|
TextPaintable (TextNode<#text>)
|