gecko/layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
Daniel Holbert ebf2a2f077 Bug 272288 Patch 2: Store override preserveAspectRatio values in property table on image document's root node, when painting <svg> image element. r=roc a=roc
--HG--
rename : layout/reftests/svg/image/blueRect10x10.svg => layout/reftests/svg/image/blueRect10x10-viewBox.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-01.svg => layout/reftests/svg/image/image-preserveAspectRatio-01-svg.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-raster.svg
rename : layout/reftests/svg/image/image-preserveAspectRatio-02.svg => layout/reftests/svg/image/image-preserveAspectRatio-02-svg.svg
2010-12-19 16:45:29 -08:00

13 lines
533 B
XML

<!-- Test to make sure "preserveAspectRatio" value is applied correctly on
<image> tag, when the width:height ratio is less than the image's
nativeWidth:nativeHeight -->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<script xlink:href="util.js" type="text/javascript"/>
<script>
var grid = generateImageGrid("blueRect10x10-viewBox.svg", 20, 40);
grid.setAttribute("transform", "translate(10, 10)");
document.documentElement.appendChild(grid);
</script>
</svg>