Files
ladybird/Tests/LibWeb/Ref/svg-overflow-hidden.html
Andreas Kling 2fdf2b9215 LibWeb: Allow SVG root elements to have visible overflow
We were overly aggressive in clipping SVG roots, which effectively made
them behave as if they always had `overflow: hidden`.

This fixes incorrect clipping of the logo on https://basecamp.com/
2024-10-07 09:31:25 +02:00

9 lines
297 B
HTML

<link rel="match" href="reference/svg-overflow-hidden-ref.html" />
<style>
svg {
width: 100px;
overflow: hidden;
}
</style>
<svg class="visible" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><rect x="0" y="0" width="50" height="200" fill="green"></rect></svg>