mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 02:05:07 +02:00
Peek is used to determine if the current chunk is the last and if so, add trailing box metrics. For this to work correctly, it must be done only after calling next(), otherwise peek gives us the current chunk.
21 lines
1.1 KiB
Plaintext
21 lines
1.1 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 34 0+0+0] [BFC] children: not-inline
|
|
BlockContainer <body> at [8,8] [8+0+0 784 0+0+8] [8+0+0 18 0+0+8] children: inline
|
|
frag 0 from TextNode start: 0, length: 2, rect: [60.15625,8 19.234375x18] baseline: 13.796875
|
|
"bu"
|
|
InlineNode <span#inline-margin> at [8,8] [0+0+0 27.15625 0+0+25] [0+0+0 18 0+0+0]
|
|
frag 0 from TextNode start: 0, length: 3, rect: [8,8 27.15625x18] baseline: 13.796875
|
|
"foo"
|
|
TextNode <#text> (not painted)
|
|
TextNode <#text> (not painted)
|
|
|
|
ViewportPaintable (Viewport<#document>) [0,0 800x600]
|
|
PaintableWithLines (BlockContainer<HTML>) [0,0 800x34]
|
|
PaintableWithLines (BlockContainer<BODY>) [8,8 784x18]
|
|
PaintableWithLines (InlineNode<SPAN>#inline-margin) [8,8 27.15625x18]
|
|
TextPaintable (TextNode<#text>)
|
|
TextPaintable (TextNode<#text>)
|
|
|
|
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
|
|
SC for BlockContainer<HTML> [0,0 800x34] [children: 0] (z-index: auto)
|