ladybird/Tests/LibWeb/Layout/expected/css/counters-on-pseudo-elements.txt
Andreas Kling 81d4079c12 LibWeb: Support CSS content property images (and lists, too!)
This patch expands our generated content support beyond single strings
to lists of strings and/or images.

Pseudo-elements like ::before and ::after can now use content:url(...)
to insert anonymous image boxes into the layout tree.

This is heavily used in Google Docs for UI elements.
2025-07-28 22:46:27 +02:00

61 lines
3 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x70 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x54 children: not-inline
BlockContainer <div#a> at (8,8) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [26.6875,8 9.34375x18] baseline: 13.796875
"a"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,8 6.34375x18] baseline: 13.796875
"1"
frag 1 from TextNode start: 0, length: 2, rect: [14.34375,8 12.34375x18] baseline: 13.796875
". "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <div#b> at (8,26) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [29.15625,26 9.46875x18] baseline: 13.796875
"b"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,26 8.8125x18] baseline: 13.796875
"2"
frag 1 from TextNode start: 0, length: 2, rect: [16.8125,26 12.34375x18] baseline: 13.796875
". "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <div#c> at (8,44) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [29.4375,44 8.890625x18] baseline: 13.796875
"c"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,44 9.09375x18] baseline: 13.796875
"3"
frag 1 from TextNode start: 0, length: 2, rect: [17.09375,44 12.34375x18] baseline: 13.796875
". "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <(anonymous)> at (8,62) content-size 784x0 children: inline
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x70]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x54]
PaintableWithLines (BlockContainer<DIV>#a) [8,8 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,8 18.6875x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>#b) [8,26 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,26 21.15625x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<DIV>#c) [8,44 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,44 21.4375x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer(anonymous)) [8,62 784x0]
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x70] [children: 0] (z-index: auto)