Files
ladybird/Tests/LibWeb/Text/expected/anchor-positioning-basic-insets.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

21 lines
396 B
Plaintext

bottom/left anchor sides:
target.bottom: 520
anchor.top: 520
target.left: 200
anchor.left: 100
anchor.width: 200
top/right anchor sides:
target.top: 600
anchor.bottom: 600
target.right: 100
anchor.left: 100
After anchor-name removal:
target.top: 0
target.left: 0
After anchor-name restore:
target.bottom: 520
anchor.top: 520
Non-inheritance:
child anchor-name: none
child position-anchor: normal