Rubber-stamped by Brady Eidson.
[webbrowser.git] / LayoutTests / svg / custom / image-with-aspect-ratio-stretch.svg
blobbf16b73874aab99631f95fe1ba2a3ab0de848e47
1 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1">
2 <!-- This test ensures that we paint images to the correct location when
3 it has been transformed to retain aspect ratio.
5 It should produce a single 100x100 green square.
6 -->
7 <g transform="scale(0.5, 1)">
8 <g transform="translate(-100, -150)">
9 <rect x="100" y="150" width="100" height="100" fill="red"/>
10 <image x="100" y="100" width="100" height="200" xlink:href="../../css2.1/support/swatch-green.png" />
11 </g>
12 <g transform="translate(-50, -100)">
13 <rect x="150" y="100" width="100" height="100" fill="red"/>
14 <image x="100" y="100" width="200" height="100" xlink:href="../../css2.1/support/swatch-green.png" />
15 </g>
16 </g>
17 </svg>