Files
ladybird/Tests/LibWeb/Text/expected/Internals/dump-layout-tree.txt
Aliaksandr Kalenik 5be98aaa07 LibWeb: Add internals.dumpLayoutTree(node) API
This new testing API dumps the layout subtree rooted at a given DOM
node. It will be useful for testing partial layout tree rebuilds, where
we need to verify the layout tree structure for specific subtrees rather
than the entire document.
2026-02-09 21:05:45 +01:00

9 lines
368 B
Plaintext

BlockContainer <div#target> at [8,8] [0+0+0 100 0+0+684] [0+0+0 50 0+0+0] children: inline
TextNode <#text> (not painted)
InlineNode <span> at [8,8] [0+0+0 39.78125 0+0+0] [0+0+0 18 0+0+0]
frag 0 from TextNode start: 0, length: 5, rect: [8,8 39.78125x18] baseline: 13.796875
"Hello"
TextNode <#text> (not painted)
TextNode <#text> (not painted)