ladybird/Tests/LibWeb/Layout/expected/css-counters/hidden-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

90 lines
4.4 KiB
Text

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x186 [BFC] children: not-inline
BlockContainer <body> at (8,16) content-size 784x154 children: not-inline
BlockContainer <p> at (8,16) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [26.125,16 14.265625x18] baseline: 13.796875
"A"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,16 6.34375x18] baseline: 13.796875
"1"
frag 1 from TextNode start: 0, length: 2, rect: [14.34375,16 11.78125x18] baseline: 13.796875
": "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <p> at (8,50) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28.59375,50 9.34375x18] baseline: 13.796875
"B"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,50 8.8125x18] baseline: 13.796875
"2"
frag 1 from TextNode start: 0, length: 2, rect: [16.8125,50 11.78125x18] baseline: 13.796875
": "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <p> at (8,84) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28.875,84 10.3125x18] baseline: 13.796875
"C"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,84 9.09375x18] baseline: 13.796875
"3"
frag 1 from TextNode start: 0, length: 2, rect: [17.09375,84 11.78125x18] baseline: 13.796875
": "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <p> at (8,118) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [27.53125,118 11.140625x18] baseline: 13.796875
"D"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,118 7.75x18] baseline: 13.796875
"4"
frag 1 from TextNode start: 0, length: 2, rect: [15.75,118 11.78125x18] baseline: 13.796875
": "
TextNode <#text>
TextNode <#text>
TextNode <#text>
BlockContainer <p> at (8,152) content-size 784x18 children: inline
frag 0 from TextNode start: 0, length: 1, rect: [28.234375,152 11.859375x18] baseline: 13.796875
"E"
InlineNode <(anonymous)>
frag 0 from TextNode start: 0, length: 1, rect: [8,152 8.453125x18] baseline: 13.796875
"5"
frag 1 from TextNode start: 0, length: 2, rect: [16.453125,152 11.78125x18] baseline: 13.796875
": "
TextNode <#text>
TextNode <#text>
TextNode <#text>
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x186]
PaintableWithLines (BlockContainer<BODY>) [8,16 784x154]
PaintableWithLines (BlockContainer<P>) [8,16 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,16 18.125x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<P>) [8,50 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,50 20.59375x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<P>) [8,84 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,84 20.875x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<P>) [8,118 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,118 19.53125x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<P>) [8,152 784x18]
PaintableWithLines (InlineNode(anonymous)) [8,152 20.234375x18]
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
TextPaintable (TextNode<#text>)
SC for Viewport<#document> [0,0 800x600] [children: 1] (z-index: auto)
SC for BlockContainer<HTML> [0,0 800x186] [children: 0] (z-index: auto)