mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-22 16:09:23 +00:00
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.
5 lines
No EOL
285 B
HTML
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> |