mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 10:07:15 +02:00
When a CharacterData mutation inside a foreignObject triggered partial SVG relayout, sibling absolutely positioned elements whose containing block is outside the SVG were not being repositioned. This happened because the check only walked ancestors of the changed node looking for abspos elements — it never saw abspos siblings. Fix by querying contained_abspos_children() on boxes outside the SVG subtree, which finds all abspos elements regardless of their position in the tree relative to the changed node.
2 lines
11 B
Plaintext
2 lines
11 B
Plaintext
moved=true
|