mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-27 18:17:22 +02:00
During SVG subtree relayout, position:fixed elements inside <foreignObject> use the viewport as their containing block. Since the viewport is outside the SVG subtree, it was not pre-populated in the LayoutState, causing a VERIFY failure in ensure_used_values_for(). Fix this by unconditionally pre-populating the viewport node from its paintable in relayout_svg_root().
1.3 KiB
1.3 KiB