Files
ladybird/Tests/LibWeb/Ref/reference/nested-svg-as-img-ref.html
MacDue 06ed56f4f6 LibWeb: Paint SVGDecodedImageData via Navigable::paint()
Going via the `ViewportPaintable` missed some steps (in particular
computing clip rects), which meant nested SVGs within SVGs-as-images
were completely clipped.
2024-03-30 21:35:22 +01:00

9 lines
186 B
HTML

<svg width="22" height="22" xmlns="http://www.w3.org/2000/svg">
<rect x="5" y="5" width="12" height="12" fill="red" />
</svg>
<style>
svg {
border: 1px solid black;
}
</style>