mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-01 03:57:15 +02:00
This test covers the case where an absolutely positioned element inside <foreignObject> has a containing block that is an ancestor of the <svg>. It serves as a regression test for partial SVG relayout that is going to be introduced in the upcoming changes.
16 lines
305 B
Plaintext
16 lines
305 B
Plaintext
Before SVG relayout:
|
|
abspos width: 50
|
|
abspos height: 50
|
|
abspos x: 18
|
|
abspos y: 18
|
|
After SVG relayout:
|
|
abspos width: 50
|
|
abspos height: 50
|
|
abspos x: 18
|
|
abspos y: 18
|
|
Abspos preserved after SVG relayout:
|
|
width unchanged: true
|
|
height unchanged: true
|
|
x unchanged: true
|
|
y unchanged: true
|