mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2026-04-19 10:20:22 +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.
30 lines
2.1 KiB
Text
30 lines
2.1 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 38 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 22 0+0+8] children: inline
|
|
frag 0 from BlockContainer start: 0, length: 0, rect: [13,10 78.390625x18] baseline: 19
|
|
BlockContainer <select#select> at [13,10] inline-block [0+1+4 78.390625 4+1+0] [0+1+1 18 1+1+0] [BFC] children: not-inline
|
|
Box <div> at [13,10] flex-container(row) [0+0+0 78.390625 0+0+0] [0+0+0 18 0+0+0] [FFC] children: not-inline
|
|
BlockContainer <div> at [13,10] flex-item [0+0+0 58.390625 0+0+0] [0+0+0 18 0+0+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 7, rect: [13,10 58.390625x18] baseline: 13.796875
|
|
"Value 1"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div> at [75.390625,11] flex-item [4+0+0 16 0+0+0] [0+0+0 16 0+0+0] [BFC] children: inline
|
|
frag 0 from SVGSVGBox start: 0, length: 0, rect: [75.390625,11 16x16] baseline: 16
|
|
SVGSVGBox <svg> at [75.390625,11] [0+0+0 16 0+0+0] [0+0+0 16 0+0+0] [SVG] children: not-inline
|
|
SVGGeometryBox <path> at [79.390625,16.71875] [0+0+0 8 0+0+0] [0+0+0 4.953125 0+0+0] children: not-inline
|
|
TextNode <#text> (not painted)
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x38]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x22]
|
|
PaintableWithLines (BlockContainer<SELECT>#select) [8,8 88.390625x22]
|
|
PaintableBox (Box<DIV>) [13,10 78.390625x18]
|
|
PaintableWithLines (BlockContainer<DIV>) [13,10 58.390625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>) [75.390625,11 16x16]
|
|
SVGSVGPaintable (SVGSVGBox<svg>) [75.390625,11 16x16]
|
|
SVGPathPaintable (SVGGeometryBox<path>) [79.390625,16.71875 8x4.953125]
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x38] [children: 0] (z-index: auto)
|