mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57: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.
37 lines
2.4 KiB
Plaintext
37 lines
2.4 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 [1,1] [0+1+0 798 0+1+0] [0+1+0 95 0+1+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [10,10] [8+1+0 780 0+1+8] [8+1+0 77 0+1+8] children: not-inline
|
|
Box <div.grid-container> at [11,11] [0+1+0 778 0+1+0] [0+1+0 75 0+1+0] [GFC] children: not-inline
|
|
BlockContainer <div.grid-item.a> at [12,12] [0+1+0 257.328125 0+1+0] [0+1+0 73 0+1+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [12,12 6.34375x18] baseline: 13.796875
|
|
"1"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.grid-item.b> at [530.65625,12] [0+1+0 257.328125 0+1+0] [0+1+0 48 0+1+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [530.65625,12 8.8125x18] baseline: 13.796875
|
|
"2"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.grid-item.c> at [271.328125,12] [0+1+0 257.328125 0+1+0] [0+1+0 23 0+1+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [271.328125,12 9.09375x18] baseline: 13.796875
|
|
"3"
|
|
TextNode <#text> (not painted)
|
|
BlockContainer <div.grid-item.d> at [271.328125,62] [0+1+0 516.65625 0+1+0] [0+1+0 23 0+1+0] [BFC] children: inline
|
|
frag 0 from TextNode start: 0, length: 1, rect: [271.328125,62 7.75x18] baseline: 13.796875
|
|
"4"
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x97]
|
|
PaintableWithLines (BlockContainer<BODY>) [9,9 782x79]
|
|
PaintableBox (Box<DIV>.grid-container) [10,10 780x77]
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item.a) [11,11 259.328125x75]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item.b) [529.65625,11 259.328125x50]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item.c) [270.328125,11 259.328125x25]
|
|
TextPaintable (TextNode<#text>)
|
|
PaintableWithLines (BlockContainer<DIV>.grid-item.d) [270.328125,61 518.65625x25]
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [1,1 798x95] [children: 0] (z-index: auto)
|