blob: bf16b73874aab99631f95fe1ba2a3ab0de848e47 [file] [log] [blame]
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
<!-- This test ensures that we paint images to the correct location when
it has been transformed to retain aspect ratio.
It should produce a single 100x100 green square.
-->
<g transform="scale(0.5, 1)">
<g transform="translate(-100, -150)">
<rect x="100" y="150" width="100" height="100" fill="red"/>
<image x="100" y="100" width="100" height="200" xlink:href="../../css2.1/support/swatch-green.png" />
</g>
<g transform="translate(-50, -100)">
<rect x="150" y="100" width="100" height="100" fill="red"/>
<image x="100" y="100" width="200" height="100" xlink:href="../../css2.1/support/swatch-green.png" />
</g>
</g>
</svg>