mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
Inline nodes in our layout tree have a position, so let's show it. By centralizing the logic for this, block nodes now lose their redundant 'content-size' dump info which is already part of the box model dump.
28 lines
1.8 KiB
Plaintext
28 lines
1.8 KiB
Plaintext
Viewport <#document> at [0,0] [0+0+0 800 0+0+0] [0+0+0 600 0+0+0] children: not-inline
|
|
BlockContainer <html> at [0,0] [0+0+0 800 0+0+0] [0+0+0 40 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 24 0+0+8] children: not-inline
|
|
TableWrapper <(anonymous)> at [8,8] [0+0+0 37.609375 0+0+746.390625] [0+0+0 24 0+0+0] [BFC] children: not-inline
|
|
Box <table> at [8,8] table-box [0+0+0 37.609375 0+0+0] [0+0+0 24 0+0+0] [TFC] children: not-inline
|
|
Box <tbody> at [10,10] table-row-group [0+0+0 33.609375 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
Box <tr> at [10,10] table-row [0+0+0 33.609375 0+0+0] [0+0+0 20 0+0+0] children: not-inline
|
|
BlockContainer <td.ab> at [11,11] table-cell [0+0+1 31.609375 1+0+0] [0+0+1 18 1+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [11,11 31.609375x18] baseline: 13.796875
|
|
"A B"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> at [8,32] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x40]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x24]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 37.609375x24]
|
|
PaintableBox (Box<TABLE>) [8,8 37.609375x24]
|
|
PaintableBox (Box<TBODY>) [10,10 33.609375x20]
|
|
PaintableBox (Box<TR>) [10,10 33.609375x20]
|
|
PaintableWithLines (BlockContainer<TD>.ab) [10,10 33.609375x20]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer(anonymous)) [8,32 784x0]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x40] [children: 0] (z-index: auto)
|