mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 21:08:12 +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.
40 lines
2.3 KiB
Text
40 lines
2.3 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 780x119 children: not-inline
|
|
BlockContainer <(anonymous)> at (8,8) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div#top> at (8,8) content-size 780x100 [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div#top-left.box> at (8,8) content-size 300x100 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <div#top-right.box> at (488,8) content-size 300x100 floating [BFC] children: not-inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,108) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div#bottom> at (9,109) content-size 778x17 children: not-inline
|
|
BlockContainer <(anonymous)> at (9,109) content-size 778x0 children: inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
BlockContainer <div#text> at (9,109) content-size 778x17 children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [371,109 54.796875x17] baseline: 13.296875
|
|
"foobar"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (9,126) content-size 778x0 children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,127) content-size 780x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 780x119]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 780x0]
|
|
PaintableWithLines (BlockContainer<DIV>#top) [8,8 780x100]
|
|
PaintableWithLines (BlockContainer<DIV>#top-left.box) [8,8 300x100]
|
|
PaintableWithLines (BlockContainer<DIV>#top-right.box) [488,8 300x100]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,108 780x0]
|
|
PaintableWithLines (BlockContainer<DIV>#bottom) [8,108 780x19]
|
|
PaintableWithLines (BlockContainer(anonymous)) [9,109 778x0]
|
|
PaintableWithLines (BlockContainer<DIV>#text) [9,109 778x17]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [9,126 778x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,127 780x0]
|