blob: 4409ee32a93aebf34ed9dbaac9b7592f5bd54b85 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:h="http://www.w3.org/1999/xhtml">
<title>Vertical fidelity of &#x3c;image&#x3e; element with fractional width</title>
<h:link rel="help" href="https://svgwg.org/svg2-draft/embedded.html#ImageElement"/>
<h:link rel="match" href="reference/green-rect-100x100.svg"/>
<rect x="95" width="5" height="100" fill="green"/>
<rect width="95" height="100" fill="red"/>
<g clip-path="url(#c)">
<clipPath id="c">
<rect width="95" height="100"/>
</clipPath>
<image href="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' preserveAspectRatio='xMinYMin'%3e
%3crect width='100' height='100' fill='green'/%3e%3c/svg%3e"
width="101.2" height="100"/>
</g>
</svg>