mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-21 03:10:26 +00: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.
38 lines
2.7 KiB
Text
38 lines
2.7 KiB
Text
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 220 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 204 0+0+8] children: not-inline
|
|
TableWrapper <(anonymous)> at [8,8] [0+0+0 498.1875 0+0+285.8125] [0+0+0 204 0+0+0] [BFC] children: not-inline
|
|
Box <table> at [9,9] table-box [0+1+0 496.1875 0+1+0] [0+1+0 202 0+1+0] [TFC] children: not-inline
|
|
Box <tbody> at [11,11] table-row-group [0+0+0 492.1875 0+0+0] [0+0+0 198 0+0+0] children: not-inline
|
|
Box <tr> at [11,11] table-row [0+0+0 492.1875 0+0+0] [0+0+0 198 0+0+0] children: not-inline
|
|
BlockContainer <td> at [71,71] table-cell [0+0+60 26.640625 60+0+0] [0+0+60 18 120+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 3, rect: [71,71 26.640625x18] baseline: 13.796875
|
|
"top"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <td> at [219.640625,101] table-cell [0+0+60 45.4375 60+0+0] [0+0+90 18 90+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [219.640625,101 45.4375x18] baseline: 13.796875
|
|
"middle"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <td> at [387.078125,131] table-cell [0+0+60 56.109375 60+0+0] [0+0+120 18 60+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 6, rect: [387.078125,131 56.109375x18] baseline: 13.796875
|
|
"bottom"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <(anonymous)> (not painted) children: inline
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x220]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x204]
|
|
PaintableWithLines (TableWrapper(anonymous)) [8,8 498.1875x204]
|
|
PaintableBox (Box<TABLE>) [8,8 498.1875x204]
|
|
PaintableBox (Box<TBODY>) [11,11 492.1875x198]
|
|
PaintableBox (Box<TR>) [11,11 492.1875x198]
|
|
PaintableWithLines (BlockContainer<TD>) [11,11 146.640625x198]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [159.640625,11 165.4375x198]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<TD>) [327.078125,11 176.109375x198]
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x220] [children: 0] (z-index: auto)
|