Files
ladybird/Tests/LibWeb/Layout/expected/leading-metrics.txt
zac fca2d71b16 LibWeb: Set is_first_chunk to false as needed in InlineLevelIterator
`m_text_node_context->is_first_chunk` was always true because
`InlineLevelIterator::next_without_lookahead` never set it to false.
2025-09-24 12:33:17 +01:00

34 lines
2.0 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 71 0+0+0] [BFC] children: not-inline
BlockContainer <body> at [8,13] [8+0+0 784 0+0+8] [8+0+0 45 0+0+13] children: not-inline
BlockContainer <div> at [8,13] [0+0+0 784 0+0+0] [0+0+0 45 0+0+0] children: not-inline
BlockContainer <(anonymous)> at [8,13] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <pre> at [8,13] [0+0+0 784 0+0+0] [13+0+0 45 0+0+13] children: inline
frag 0 from TextNode start: 0, length: 5, rect: [8,13 29.921875x15] baseline: 11.390625
"hello"
frag 1 from TextNode start: 1, length: 1, rect: [8,43 6.5x15] baseline: 11.390625
" "
TextNode <#text> (not painted)
InlineNode <code> at [8,13] [0+10+0 0 0+10+0] [0+10+0 15 0+10+0]
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,71] [0+0+0 784 0+0+0] [0+0+0 0 0+0+0] children: inline
TextNode <#text> (not painted)
BlockContainer <(anonymous)> at [8,71] [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 800x71]
PaintableWithLines (BlockContainer<BODY>) [8,13 784x45]
PaintableWithLines (BlockContainer<DIV>) [8,13 784x45]
PaintableWithLines (BlockContainer(anonymous)) [8,13 784x0]
PaintableWithLines (BlockContainer<PRE>) [8,13 784x45]
TextPaintable (TextNode<#text>)
PaintableWithLines (InlineNode<CODE>) [-2,3 20x35]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,71 784x0]
PaintableWithLines (BlockContainer(anonymous)) [8,71 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x71] [children: 0] (z-index: auto)