Source code

Revision control

Copy as Markdown

Other Tools

SVG Preview (Scaled)

Preview of https://hg.mozilla.org/mozilla-central/raw-file/tip/layout/reftests/svg/as-image/img-and-image-1-helper-a.svg
<svg xmlns="http://www.w3.org/2000/svg" version="1.1"
width="100" height="20"
viewBox="0 0 100 20">
<!-- animated value for preserveAspectRatio: -->
<set attributeName="preserveAspectRatio" to="xMaxYMax slice"/>
<rect x="2" y="2" width="96" height="16"
style="stroke-width: 4; fill:lime; stroke: teal"/>
</svg>