Files
ladybird/Tests/LibWeb/Layout/expected/css-all-unset.txt
Jelle Raaijmakers f4b04beccd LibWeb: Show inline positioning in layout tree dump
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.
2025-08-27 11:53:45 +01:00

23 lines
1.2 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 18 0+0+0] [BFC] children: inline
InlineNode <head> at [0,0] [0+0+0 134.984375 0+0+0] [0+0+0 18 0+0+0]
InlineNode <style> at [0,0] [0+0+0 134.984375 0+0+0] [0+0+0 18 0+0+0]
frag 0 from TextNode start: 1, length: 18, rect: [0,0 134.984375x18] baseline: 13.796875
"* { all: unset; } "
TextNode <#text> (not painted)
InlineNode <body> at [134.984375,0] [0+0+0 103.140625 0+0+0] [0+0+0 18 0+0+0]
frag 0 from TextNode start: 0, length: 13, rect: [134.984375,0 103.140625x18] baseline: 13.796875
"Hello friends"
TextNode <#text> (not painted)
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x18]
PaintableWithLines (InlineNode<HEAD>) [0,0 134.984375x18]
PaintableWithLines (InlineNode<STYLE>) [0,0 134.984375x18]
TextPaintable (TextNode<#text>)
PaintableWithLines (InlineNode<BODY>) [134.984375,0 103.140625x18]
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x18] [children: 0] (z-index: auto)