mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 01:35:08 +02:00
When `position-anchor` is used, resolve the insets for that absolutely positioned box. Co-authored-by: Rob Ryan <rob@affclicks.com>
21 lines
396 B
Plaintext
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
|