Files
ladybird/Tests/LibWeb/Text/expected/SVG/svg-foreignObject-abspos-with-ancestor-containing-block.txt
Aliaksandr Kalenik b1921f60ce Tests: Add test for abspos in foreignObject with ancestor containing box
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.
2026-02-09 03:02:49 +01:00

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