Files
ladybird/Tests/LibWeb/Text/expected/anchor-positioning-explicit-names.txt
Jelle Raaijmakers 4293c841f3 LibWeb: Implement CSS anchor positioning
When `position-anchor` is used, resolve the insets for that absolutely
positioned box.

Co-authored-by: Rob Ryan <rob@affclicks.com>
2026-04-01 19:41:46 +01:00

13 lines
323 B
Plaintext

Default anchor name (--a1):
top: 50 left: 0
a1.bottom: 50 a1.left: 0
Explicit anchor name (--a2) overrides default:
top: 250 left: 300
a2.bottom: 250 a2.left: 300
Mixed default and explicit:
top: 50 left: 300
a1.bottom: 50 a2.left: 300
No position-anchor, explicit name only:
top: 250 left: 300
a2.bottom: 250 a2.left: 300