ladybird/Tests/LibWeb/Layout/input/svg/svg-nested-svg-display-block.html
Andreas Kling 8e49b69f42 LibWeb: Never split <svg> for inline continuations
This fixes an issue where we'd make an absolute mess from nested SVG
roots with display:block. Before this fix, the inner SVG root would
trigger the inline continuation logic and try to split the tree.
2025-07-12 14:11:41 +02:00

5 lines
No EOL
285 B
HTML

<!DOCTYPE html>
<style type="text/css">
* { outline: 1px solid black; }
svg { display: block; }
</style><svg id="outer" width="50" height="50" viewBox="0 0 50 50"><g><svg id="inner" width="25" height="25" viewBox="0 0 25 15"><rect fill="green" width="25" height="15" /></svg></g></svg>