1 <!-- Test to make sure "preserveAspectRatio" value is applied correctly on
2 <image> tag, when the width:height ratio is greater than the image's
3 nativeWidth:nativeHeight -->
4 <svg xmlns=
"http://www.w3.org/2000/svg"
5 xmlns:
xlink=
"http://www.w3.org/1999/xlink"
6 style=
"image-rendering: -moz-crisp-edges">
7 <script xlink:
href=
"util.js" type=
"text/javascript"/>
9 var grid = generateImageGrid(
"blueRect10x10.png",
40,
20);
10 grid.setAttribute(
"transform",
"translate(10, 10)");
11 document.documentElement.appendChild(grid);