Files
ladybird/Tests/LibWeb/Layout/expected/details-summary-default-ua-style.txt
Oliver Medhurst b272bb3373 LibWeb: Fix ::marker placement in tree
Fixes ::marker (pseudo-element) placement in the tree for list-items.

Previously:
- ::before
- content
- ::marker
- ::after

Now (matches Firefox, afaik per-spec):
- ::marker
- ::before
- content
- ::after
2025-03-27 23:10:09 +00:00

20 lines
1.2 KiB
Plaintext

Viewport <#document> at (0,0) content-size 800x600 children: not-inline
BlockContainer <html> at (0,0) content-size 800x153 [BFC] children: not-inline
BlockContainer <body> at (8,8) content-size 784x137 children: not-inline
BlockContainer <details> at (68,68) content-size 664x17 children: not-inline
ListItemBox <summary> at (92,68) content-size 640x17 children: inline
frag 0 from TextNode start: 0, length: 5, rect: [92,68 36.84375x17] baseline: 13.296875
"hello"
ListItemMarkerBox <(anonymous)> at (68,68) content-size 12x17 children: not-inline
TextNode <#text>
BlockContainer <slot> at (68,85) content-size 664x0 children: not-inline
ViewportPaintable (Viewport<#document>) [0,0 800x600]
PaintableWithLines (BlockContainer<HTML>) [0,0 800x153]
PaintableWithLines (BlockContainer<BODY>) [8,8 784x137]
PaintableWithLines (BlockContainer<DETAILS>) [8,8 784x137]
PaintableWithLines (ListItemBox<SUMMARY>) [92,68 640x17]
MarkerPaintable (ListItemMarkerBox(anonymous)) [68,68 12x17]
TextPaintable (TextNode<#text>)
PaintableWithLines (BlockContainer<SLOT>) [68,85 664x0]