mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-03 23:25:20 +00:00
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/
9 lines
297 B
HTML
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>
|