ladybird/Tests/LibWeb/Layout/expected/css-all-unset.txt
Aliaksandr Kalenik 2960bf4ec8 LibWeb: Make inline paintables own their fragments
The paintable tree structure more closely matches the painting order
when fragments are owned by corresponding inline paintables. This
change does not affect the layout tree, as it is more convenient for
layout purposes to have all fragments owned by a block container in
one place.

Additionally, this improves performance significantly on pages with
many fragments, as we no longer have to walk the ancestor chain up
to the closest block container to determine if a fragment belongs
to an inline paintable.
2024-01-13 18:46:41 +01:00

20 lines
748 B
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: inline
InlineNode <html>
InlineNode <head>
InlineNode <style>
frag 0 from TextNode start: 1, length: 18, rect: [0,0 134.984375x17] baseline: 13.296875
"* { all: unset; } "
TextNode <#text>
InlineNode <body>
frag 0 from TextNode start: 0, length: 13, rect: [135,0 103.140625x17] baseline: 13.296875
"Hello friends"
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
InlinePaintable (InlineNode<HTML>)
InlinePaintable (InlineNode<HEAD>)
InlinePaintable (InlineNode<STYLE>)
TextPaintable (TextNode<#text>)
InlinePaintable (InlineNode<BODY>)
TextPaintable (TextNode<#text>)