mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 03:27:44 +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.
70 lines
4.1 KiB
Text
70 lines
4.1 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 784x200 children: not-inline
|
|
Box <div.mw-page-container-inner> at (8,8) content-size 784x0 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.vector-main-menu-container> at (8,8) content-size 196x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.vector-sitenotice-container> at (8,8) content-size 784x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.mw-content-container> at (204,8) content-size 588x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <div.mw-footer-container> at (8,8) content-size 784x0 [BFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,8) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
TextNode <#text>
|
|
Box <section#page> at (8,8) content-size 784x200 [GFC] children: not-inline
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <header> at (8,8) content-size 784x30 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [8,8 55.703125x17] baseline: 13.296875
|
|
"Header"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <nav> at (8,38) content-size 120x170 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 10, rect: [8,38 80.6875x17] baseline: 13.296875
|
|
"Navigation"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <main> at (128,38) content-size 664x140 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 9, rect: [128,38 79.515625x17] baseline: 13.296875
|
|
"Main area"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <footer> at (128,178) content-size 664x30 [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [128,178 57.671875x17] baseline: 13.296875
|
|
"Footer"
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> (not painted) [BFC] children: inline
|
|
TextNode <#text>
|
|
BlockContainer <(anonymous)> at (8,208) content-size 784x0 children: inline
|
|
TextNode <#text>
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x200]
|
|
PaintableBox (Box<DIV>.mw-page-container-inner) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer<DIV>.vector-main-menu-container) [8,8 196x0]
|
|
PaintableWithLines (BlockContainer<DIV>.vector-sitenotice-container) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer<DIV>.mw-content-container) [204,8 588x0]
|
|
PaintableWithLines (BlockContainer<DIV>.mw-footer-container) [8,8 784x0]
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,8 784x0]
|
|
PaintableBox (Box<SECTION>#page) [8,8 784x200]
|
|
PaintableWithLines (BlockContainer<HEADER>) [8,8 784x30]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<NAV>) [8,38 120x170]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<MAIN>) [128,38 664x140]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<FOOTER>) [128,178 664x30]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,208 784x0]
|